Nibble

Restricted Upload datatype for Umbraco

Another friday another project Smile , this time an improved upload datatype that will allow you to restrict the upload for your content editor.

The settings will allow you to provide a maximum file size (in KB) and the allowed file extension(s)

image

When the file isn’t valid the editor will get a notification

image

That’s it Smile

The package is available on our.umbraco.org

5 Comments so far

  1. Jeroen Breuer on November 5th, 2012

    If this ever get’s into the core it would be good to test with other packages. DAMP currently uses the guid of the upload hard coded. Also DMU and the new multiple file uploader in 4.9 probably don’t do the checks which this datatype does. So there could be a scenario where you can’t upload when you use this datatype, but that same upload works with DMU.

  2. Josh on November 22nd, 2012

    Hey Tim
    I built the same thing for contour the other day & wondering if you’d share source, to check my logic against. Although obv different, the relative snippets should be the same ;) Thanks!

  3. Ian on January 30th, 2013

    The validation doesn’t seem to work on IE 9.

  4. Ian on January 30th, 2013

    Also, it doesn’t seem to delete the files!

  5. Craig on December 3rd, 2013

    Is there a way to make this plugin to create a thumbnail image to make previewing easier?

Leave a Reply