View Single Post
  #2  
Old 04-21-2016, 10:10 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Automatically Generate/ Reduce Photo Size?

Do you have http://www.imagemagick.org/ installed on the server?

If so, you can bulk-resize by calling ImageMagick with the following parameters in the directory with the images on the server:
Code:
mogrify -resize "2880x1800>" *.jpg
, where:
- 2880x1800 - are the desired maximum dimensions
- *.jpg - is the wildcard for the files to be processed by the script

If you don't have SSH access to the server (so you can't run the above command on the server), you can install ImageMagick on your local computer and run the command there (and then upload changed files to the server).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 04-21-2016 at 10:12 PM.
Reply With Quote