When a new image is added in the Media section, it is created inside a unique folder (i.e. /Media/455003/new_image.jpg). Does anyone know how to change this behavior, or specify a default folder instead of the randomly selected folder name? Since umbraco doesn't allow us to edit this path, we are stuck with the default folder - which isn't ideal for organizing our media items.
in the umbracoSettings.config file in the "config" folder you could try and change this setting into "false" instead of true: <UploadAllowDirectories>True</UploadAllowDirectories>
Then alle media will be saved directly in the "media" folder like /media/xxx-name-of-file.extension
Change Images Default Folder
When a new image is added in the Media section, it is created inside a unique folder (i.e. /Media/455003/new_image.jpg). Does anyone know how to change this behavior, or specify a default folder instead of the randomly selected folder name? Since umbraco doesn't allow us to edit this path, we are stuck with the default folder - which isn't ideal for organizing our media items.
Thanks,
Mike
Hi Mike
in the umbracoSettings.config file in the "config" folder you could try and change this setting into "false" instead of true: <UploadAllowDirectories>True</UploadAllowDirectories>
Then alle media will be saved directly in the "media" folder like /media/xxx-name-of-file.extension
There are some different options to solve it programatically have a look at Dirk's answers in this thread http://our.umbraco.org/forum/using/ui-questions/5096-Media-folder-name
/Jan
Thanks Jan!
The config setting was what I needed for an interim solution - until I have the time to have a permanent solution with development.
is working on a reply...