Error displayed if image file extension in uppercase
I have just uploaded updates to a site from my local server to a development server and I got a lot of warning messages like:
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/<snip>
Permission denied in ../CacheResize_Image.php on line 212
Some of the thumbnails generated by Image Resized were fine, but the others had the error message. I traced it to the fact that the images that were not displaying had an uppercase file extension (.JPG not .jpg).
I changed the file extension of the ORIGINAL file that I had uploaded (not the one in the image_cache folder) AND changed the file extension in the database record and refreshed the page. Now they work.
As I am using File Manager to upload the image that Image Resizer then uses to create the thumbnails, I would like to know if it's possible to force the uploaded file to have a lowercase extension. I have posted a question to the HTML Editor forum.