I am using imagefield and imagecache to upload and display images on my website. After I activate Secure Site, I am unable to view any images in the default/files folder that have any upper case letters. For example, I am unable to view the image www.example.com/sites/default/files/Testimage.jpg even though I can see through ftp that the file Testimage.jpg is in fact in that folder.

Any help is appreciated.

Thanks.

CommentFileSizeAuthor
#9 Capture.jpg9.33 KBboanergetz
#3 1.jpg41.87 KBlapurD-dupe
#3 2.jpg7.67 KBlapurD-dupe

Comments

zdean’s picture

Title: Can't view images with uppercase name » Can't view images with lowercase jpg extension

UPDATE:

I did some more testing, and it turns out that it is the lowercase jpg extension that is creating the problem. That is, testimage.jpg cannot be viewed but testimage.JPG can.

Anonymous’s picture

Any patch or fix for this issue? I have far to many images uploaded to rename all and upload again.

Thanks

lapurD-dupe’s picture

StatusFileSize
new7.67 KB
new41.87 KB

I have the same problem with thumbnails in Drupal 7. No Secure Site in my installation.
Thumbnails for files with lowercase extensions don't displayed. There is no problem with uppercase.
That is very bad for me because I have gallery and ordinary users can't upload files with .jpg extension.

Maybe the problem is somewhere in code in comparison of strings.

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)

What kind of file handling are you using?

giorgioghisa’s picture

Version: 6.x-2.4 » 7.x-2.x-dev
Assigned: Unassigned » giorgioghisa
Priority: Normal » Major

I've got the same error on Drupal 7, no problem with uppercase image extensions. For the images that have lowercase extensions the preview is not created.

NaX’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I have a feeling this is not a securesite issue. I had a similar problem a few years ago when I was supplied CMYK images. Re-saving the images as RGB fixed the problem.

If you still feel that this is a securesite issue, please re-open the issue.

boanergetz’s picture

Iam experiencing the same issue in Drupal 7 & 8 all images uploaded with lowercase format (png,jpg,jpeg) can not be displayed but there is no problem with uppercase.I use default image field ,Kindly assist

boanergetz’s picture

Assigned: giorgioghisa » boanergetz
Category: Bug report » Support request
Priority: Normal » Major
Status: Closed (cannot reproduce) » Active
boanergetz’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev
Assigned: boanergetz » Unassigned
StatusFileSize
new9.33 KB
boanergetz’s picture

Version: 8.x-1.x-dev » 7.x-2.0-beta3