close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Error displayed if image file extension in uppercase

Thread began 11/04/2011 11:14 am by nibo | Last modified 11/08/2011 6:47 am by nibo | 5654 views | 5 replies

nibo

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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...