I'm using umbraco 4.7.1.1. I'm using an 'upload' datatype to allow users (not members) in the admin area to upload images. I've found that the upload datatype will generate thumbnails automatically for me, but only if the extension is lowercase. Images attached:
image with uppercase extension:
image with lowercase extension
I think the code that checks the filename should be case insensitive.
Is there a way I can fix this myself without having to re-compile the entire umbraco base code?
Noticing the filename of the upload, is there a reason you have the "UploadAllowDirectories" (in umbracoSettings.config) set to False?
Just done a quick test on my local Umbraco 4.7.1 install, and I do get the same results... will do some digging around the Umbraco core, gut feeling is that it's a bug.
If you set "UploadAllowDirectories" back to True, then this problem will go away (but all currently uploaded media will remain in the root of /media)
There is no particular reason for the UploadAllowDirectories to be set to false, only i'm trying to keep the file structure of the website as flat as possible, I expect to have to move this folder off site (azure/s3 etc).
upload datatype and uppercase extensions
I'm using umbraco 4.7.1.1. I'm using an 'upload' datatype to allow users (not members) in the admin area to upload images. I've found that the upload datatype will generate thumbnails automatically for me, but only if the extension is lowercase. Images attached:
image with uppercase extension:
image with lowercase extension
I think the code that checks the filename should be case insensitive.
Is there a way I can fix this myself without having to re-compile the entire umbraco base code?
Hi Terry,
Noticing the filename of the upload, is there a reason you have the "UploadAllowDirectories" (in umbracoSettings.config) set to False?
Just done a quick test on my local Umbraco 4.7.1 install, and I do get the same results... will do some digging around the Umbraco core, gut feeling is that it's a bug.
If you set "UploadAllowDirectories" back to True, then this problem will go away (but all currently uploaded media will remain in the root of /media)
Cheers, Lee.
Hi Lee
There is no particular reason for the UploadAllowDirectories to be set to false, only i'm trying to keep the file structure of the website as flat as possible, I expect to have to move this folder off site (azure/s3 etc).
Thanks for assisting!
Terry.
I voted up your ticket on CodePlex: http://umbraco.codeplex.com/workitem/30815
is working on a reply...