I have a Product with Uppercase Image extention "file_url" (JPG) (uploaded manuel). The image will not be shown in der Shop.
I fixed that in the file -/helpers/image.php Line 62 (function displayMediaFull);
It was creating me a lowercase file_extension $string
$this->file_extension=preg_replace('#^.*\.([A-z]+)$#is','$1',$this->file_url);
Can you give more info where exactly (in which line) you did the change?
So if you upload an uppercase .jpg it is not uploaded correctly right? and with the fix this is corrected?
I dont know, but its for manuell uploadet and linked images. I think the automatic uploadet process in the backend will change Uppercase file extension to lower.
So you upload an image with .JPG, which is renamed on the server to .jpg, right.
So the question is, why you have JPG in the database.
ahh, you uploaded it manually, and you did not use the synchronisation or upload function, okey. Then this can happen, yes. But how you got the wrong entry in the media table?
It was created by a batched import.
Anyway, the "file_url" is still linked correct to the image.
(http://fs2.directupload.net/images/150430/ktzzpm5s.jpg) (http://www.directupload.net)
But it override me the extention to lowercase (jpg) in frontend