Hi,
Installing new home banner and somehow open cart keeps resizing it slowing down the page load. The banners dimensions are 980x280
The size of the optimized image is 37KB however the script keeps adding a 980x280 dimension to the end of the file name and once added in banner section the image is 120kb
Is there a setting I am missing here??? Why is the script doing this??
easiest solution
rename your banner and tag on -980x280 to the name then upload it to image/cache/data to overwrite the one OC has written.
The resizing on OC is not great. In versions prior to the latest, the cached image is recompiled with a compression setting of 100% - Way too much
In the latest version - this has been reduced to 90% - IMHO still Way Too Much
--
In all versions, OC checks if a cached version of the image exists, if it doesn't it creates a duplicate by recreating the image.
IMHO what it should do is check the dimensions of the uploaded image - if they match what they are required for i.e. whatever you specify in slideshow or in system settings for other images on the site, then it should be simply copied to the cache and renamed.
rename your banner and tag on -980x280 to the name then upload it to image/cache/data to overwrite the one OC has written.
The resizing on OC is not great. In versions prior to the latest, the cached image is recompiled with a compression setting of 100% - Way too much
In the latest version - this has been reduced to 90% - IMHO still Way Too Much
--
In all versions, OC checks if a cached version of the image exists, if it doesn't it creates a duplicate by recreating the image.
IMHO what it should do is check the dimensions of the uploaded image - if they match what they are required for i.e. whatever you specify in slideshow or in system settings for other images on the site, then it should be simply copied to the cache and renamed.
Who is online
Users browsing this forum: No registered users and 39 guests