AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: chrisoft on September 15, 2019, 04:13:41 AM

Title: shrink / compress images but where are they located?
Post by: chrisoft on September 15, 2019, 04:13:41 AM
Hi,
I need to decrease my page size, so I want to download all images throught ftp and compress them with https://tinypng.com
The issue is that all same images seems to be on 2 diferrent locations

1. /public_html/resources/image (images names in this location are like "0.jpg" "1.jpg" "2.jpg" ..)

2. /public_html/image/thumbnails (images names in this location are like "sandisk-usb-flash-drive.jpg" "galaxy-s6-case.jpg" "usb-cable.jpg" ..) <- these are the real names that I gave before upload them

bear in mind that are the same images located in 2 different locations.

Which of these 2 location I need to download? Is the other location then retrieve again the same images and renames them?
If someone can explain a bit.

Thank you

Title: Re: shrink / compress images but where are they located?
Post by: llegrand on September 15, 2019, 10:22:01 AM
AbanteCart has a really good export/import tool within your dashboard.   Here's the docs:

https://abantecart.atlassian.net/wiki/spaces/AD/pages/14647524/Export


My suggestion is to use it to export all your resources library to your PC.

If you have a lot of images  or want to manipulate them somewhat  the try  one of the free products from

https://www.faststone.org/
 
FastStone Photo Resizer  or FastStone Image Viewer

they do essential the same thing,  but but controls are a bit different

https://www.fotosizer.com/  -  this is another free resizer the works well also.  I usually fine the FastStone suits me better.

Once you have updated your images then use the export/import routine to load them back into your site.

IMPORTANT  -  Make a Backup of your site  BEFORE you make massive changes -  just in case you need to roll back.


Title: Re: shrink / compress images but where are they located?
Post by: Basara on September 16, 2019, 06:02:51 AM
Hello.
Images are not the same.
resources - contain all uploaded images
thumbnails - have all generated and resized images you see on storefront.

When you clear all caches or change some image settings thumbnails will be re-generating again from sources (resources)