Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some images are randomly not displaying after admin-side upload?


beechrose

Recommended Posts

When I try to upload images to a product page in the Catalog admin section, some of the images will upload correctly, and others will not. When I try to view the URL of the x-ed out JPEGs, I get the following error message:

 

"The image _______ cannot be displayed, because it contains errors."

 

 

_________ is in fact the correct URL; I have checked the server and the non-displaying images ARE there, and the directory has the correct permissions (other images in the same directory show up in the catalogue just fine) and uploading the image to the same directory via FTP doesn't help.

 

I searched the forums for this and was only able to find the error occurring for users of the "on the fly thumbnailer" contrib, which we are not using. Apparently it was a known bug between the latest version of OSC and the latest version of PHP5 - could our server recently have upgraded? Or is something else going on? Thanks in advance.

Link to comment
Share on other sites

"The image _______ cannot be displayed, because it contains errors."

_________ is in fact the correct URL; I have checked the server and the non-displaying images ARE there, and the directory has the correct permissions (other images in the same directory show up in the catalogue just fine) and uploading the image to the same directory via FTP doesn't help.

 

do the file names contain 'strange' characters? if there is an ampersand (&) or a space, it could cause some confusion for your browser. try removing those characters from the file and upload it again.

Link to comment
Share on other sites

Turns out it's a server-side issue. The web host apparently hasn't upgraded to the latest GD compression software. We'll just have to upload all the product images in PNG or GIF format. Thank you though!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...