Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Livermore 6 posts 26 karma points
    Apr 02, 2010 @ 19:08
    Mike Livermore
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 02, 2010 @ 19:28
    Jan Skovgaard
    1

    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

  • Mike Livermore 6 posts 26 karma points
    Apr 02, 2010 @ 19:59
    Mike Livermore
    0

    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.

     

Please Sign in or register to post replies

Write your reply to:

Draft