Closed facultymatt closed 11 years ago
Interestingly the small thumbnails on the product page save fine, ie: 1950s-crew-sweatshirt-add-1-135px-165px.jpg
... it's the category and detail page images that fail.
Also, the original image is 512px x 424px... but the system is trying to upscale to 512 x 445, would this cause failure?
I've actually pinpointed this issue. If DETAIL_IMAGE_WIDTH === image width
then the resize function fails. For example my original image is 512px wide x 424px tall. If I set DETAIL_IMAGE_WIDTH = 512
in the appearance panel, the image fails. If its 513 or 511 everything works fine. @note that DETAIL_IMAGE_HEIGHT
doesn't seem to have the same issue.
Closed and opened issue https://github.com/lightspeedretail/webstore/issues/556
Hello, I'm experiencing an issue where images are missing, heres what happens:
image.error : Failed to save file product/1/1950s-crew-sweatshirt-512px-445px.jpg PHP Fatal error: Call to a member function ShowThumb() on a non-object in /var/www/vhosts/trovegeneral.com/httpdocs/includes/data_classes/Images.class.php on line 316
Any thoughts as to whats happening here? Whats especially odd is everything seemed to be working fine until recently... not sure what changed. A store reset and product upload maybe? Would a config setting be causing this failure?
To debug, I have also replaced the store with a fresh DL of the 2.5.1 branch - this error stil occurs. Is this a known issue in this version?
Thanks in advance, -Matt