Dynamic Image Scaling
Our dynamic image scaling script is included in all of our CubeCart V4 skins. The script allows you to scale any image on demand. You don’t need to manually resize any images. Instead, you simply specify the image you want to scale (along with some parameters) from your HTML or product pages.
Please note that it is only possible to reduce the size of an image. It is not possible to create a larger image from a smaller image since doing so would degrade the quality.
What can I do with this?
Say that you have a product image that has dimensions 800px x 600px. The dynamic image scaling script allows you to insert a thumbnail of this image (with any desired dimensions) into your product pages, site documents and template files.
Will this slow down my website?
The dynamic image scaling script caches all your resized images so that the load on your server is reduced to a minimum. Furthermore, the script adds far future expires headers and gzip compression to accelerate page loading.
Can I see this in action?
This script is being used in all of our CubeCart V4 skins. Therefore, all of our CubeCart V4 demonstration stores are using this script.
Do you have any documentation?
We sure do! You can read more about our dynamic image scaling script in the Documentation section of the Client Panel. We have detailed all the properties that you can pass to the script. It is highly recommended that you take a look.