CubeCart has a set upload image upload limit of 350 Kilobytes in file size. There should be no need to upload images in any greater size than this whilst retaining a high quality. There are two reason this limit has been imposed;
- CubeCart used the GD image library in PHP to automatically generate smaller thumbnails in various sizes from the master image. If the uploaded image is too large in either pixel dimension or file size your store will crash as PHP won't have enough memory to create thumbnails. CubeCart is actually coded to calculate the required amount of memory needed to resize on the fly and then will try to increase the memory allocation in a burstable fashion. Most shared web hosting providers won't allow this however. Merchants with a virtual or dedicated server may find that it is safe to remove this limit.
- It's important to keep your website well optimised. Large images increases page load time and the increased likelihood of your shoppers going elsewhere (not to mention bandwidth costs, diskspace usage and SEO penalisation).
We would recommend uploading product images in JPEG format of no more than 800 pixels in width or height with image quality set to 80%.
Please find an example product image below which is 800 x 800 pixels and only 148 kilobytes in size.