I created some custom media types that extend normal photo/folder types. I added "Album" with some Title, thumbnail, date, etc... and also "AlbumPhoto" with title, description, date, etc.
Problem is that I don't know how to make DesktopMediaUploader create Albums/AlbumPhotos instead of Folders/Photos. Is there a way?
The above configuration will use the UmbracoImageMediaFactory class to create the media item. You can implement your own MediaFactory but implementing the IMediaFactory interface or inheriting from the abstract MediaFactory class. You need to reference the TheOutfield.UmbExt.DesktopMediaUploader assembly to load the mentioned types.
I was hoping there was a non-programming answer to this :)
Since I don't have a clue about .net, it seems easier for me to change folder/image media types with new fields and delete newly created Album/AlbumPhoto types.
custom media types
I created some custom media types that extend normal photo/folder types. I added "Album" with some Title, thumbnail, date, etc... and also "AlbumPhoto" with title, description, date, etc.
Problem is that I don't know how to make DesktopMediaUploader create Albums/AlbumPhotos instead of Folders/Photos. Is there a way?
Hello.
You can configure this in the desktopMediaUploader.config file. Here's an example:
The above configuration will use the UmbracoImageMediaFactory class to create the media item. You can implement your own MediaFactory but implementing the IMediaFactory interface or inheriting from the abstract MediaFactory class. You need to reference the TheOutfield.UmbExt.DesktopMediaUploader assembly to load the mentioned types.
/Andreas
I was hoping there was a non-programming answer to this :)
Since I don't have a clue about .net, it seems easier for me to change folder/image media types with new fields and delete newly created Album/AlbumPhoto types.
is working on a reply...