Copied to clipboard

Flag this post as spam?

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


  • Bex 444 posts 555 karma points
    Jun 20, 2011 @ 11:44
    Bex
    0

    managing media folder size when files uploaded by document upload

    Hi!

    I'm not sure if this is the right forum but it's kind of ui related.

    In some of my documents I give the user the ability to upload images or files for a page, this image or file gets put in the the media folder (by the umbraco upload). The next time they upload a file to replace the existing file this also gets uploaded to the media folder and appears to be under a different ID, so doesn't actually replace it.

    My client does this multiple times a month on multiple pages due to the type of business so the media folder is now huge.

    I am wondering the best way of handling this because my server space is being taken up by unused files and there does not appear to be an easy way of  determining which images are unused to be able to delete them.

    I'm sure I must not be the only one with this problem? Or is it just something I am doing seriously wrong?

    Bex

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 20, 2011 @ 12:17
    Jeroen Breuer
    0

    Hi Bix,

    There are multiple ways for you to manage your media. Instead of using the upload control on a documenttype you can also create media in the media section and select that with a picker. This way the media can be used on multiple places and if you user creates a new media item the old one can be deleted in the media section. I'm using the Digibiz Advanced Media Picker to manage my media.

    Jeroen

  • Bex 444 posts 555 karma points
    Jun 20, 2011 @ 12:25
    Bex
    0

    Hi Jeroen

    I decided against using a media picker because it makes setting a file or an image a two step process, upload to media, then pick the file you just uploaded, which when you are doing it alot gets very annoying. The images and files will only ever be used on the one page so having a plain upload on the document for either an image or file is much easier for the user.

    I assumed (wrongly) when the user uploaded a file/image on a document it always uploaded to the same place just kept replaing the old one.
    I only noticed recently that this did not appear to be the case when space was disappearing on the server!

    Is there a best of both worlds solution?

     

    Bex


     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 20, 2011 @ 12:41
    Jeroen Breuer
    0

    Hmm not sure what the best of both worlds is. I always use the media section, but there are a lot of packages to make things easier for you. If you want to use the Digibiz Advanced Media Picker you can create and select media in the same process. See this video at 2:34 http://www.screenr.com/TEY

    You could also upload all your media at the same time with multi file upload packages. Here are 3:

    http://our.umbraco.org/projects/website-utilities/desktop-media-uploader

    http://our.umbraco.org/projects/website-utilities/gecko-uploadify

    http://our.umbraco.org/projects/website-utilities/multiple-file-upload 

     

    Jeroen

  • Bex 444 posts 555 karma points
    Jun 20, 2011 @ 14:53
    Bex
    0

    Thanks for the links Jeroen!

    Sorry for the delay.. was having a look round to see if any other options.

    Think a custom datatype may be the way to go, but will try a few ways first.

    Bex

Please Sign in or register to post replies

Write your reply to:

Draft