I work in an eshop and i have daily to batch resize,rename and create multiple sizes of images.
I found imagemagick yesterday and i need your help guys (I truly truly want your help) !:shock:
-What i am doing now:
When i have to create a product, first of all i create a folder with the sku of the product for example 1045674.
Then i download images from internet and i put them in folder in order to upload them on site.
In our example i have 3 different images with different sizes. (1.jpg, 2jpg, 3jpg)
I pick the most attractive one which appears first in gallery and we call this image(1.jpg): "Hero image", the second image(2.jpg) "Left", the third image(3.jpg) "Middle".
1000 x 722 with name xxx-xxx-1000-1045674.jpg
400 x 289 with name xxx-xxx-400-1045674.jpg
200 x 145 with name xxx-xxx-200-1045674.jpg
• 1000 x 722 with name xxx-xxx-LEFT-1000-1045674.jpg
• 90 x 65 with name xxx-xxx-LEFT-90-1045674.jpg
• 1000 x 722 with name xxx-xxx-RIGHT-1000-1045674.jpg
• 90 x 65 with name xxx-xxx-RIGHT-90-1045674.jpg
and etc.
-What i am searching for
[*]I i am searching for one command that resizes-renames the 3 images in the sizes inside the folder, and in 2nd phase to do that for multiple folders.
[*]Ι i am searching for all images to be cropped/fit into content ( remove the borders from an image) before getting the final size. And add the rest width or height with white canvas to get the right dimensions
Any solutions ? If you have the solution in one from the questions above you are welcome!
Thanks in advance and sry for my English!