Jump to content

 

janskor

Member Since 13 Jun 2013
Offline Last Active May 11 2017 04:06 PM
-----

#183098 Images are not being resized

Posted by janskor on 07 May 2014 - 03:14 PM

The real issue here is that CS-Cart does not resize the detailed images that vendors upload.

While it certainly resizes the detailed image to create thumbnails and the like, but the stored detailed image can be enormous. If this image is beyond memory parameters, resizing will error out and no thumbnails produced, or produced unpredictably.

What CS-Cart needs is a pre-sizing of the uploaded image, so that it is within a tolerable range for processing.

Manually resizing the detailed images afterwards does not seem to revise the stored values for the image in the database and consequently magnified images will appear distorted, as the now smaller images are resized to the same pixel dimension of the originally uploaded image. Very problematic for a live store with 100s of vendors uploading a hodge podge of image sizes.