View Full Version : Global change of image sizes?
Is there any way of globally (or quickly) changing the size of images without having to go through them one-by-one?
I want to change all the thumnail product images to be the same height.
Thanks
This will require an export of the product database to CSV via Catalogue -> Export Product Data. Open the CSV file in Excel and condense it to the following columns:
SKU, Main Image, Thumbnail Image
Leave the first two columns as they are, then put the following in the Thumbnail Image column:
create(x,y) <-- Where x is the maximum width allowed and y is the maximum height allowed
Then go to Catalogue -> Import Product Data and create an import template with just the 3 columns above mapped to the correct columns in your CSV file. This will create resized thumbnail images based on the larger images.
Have a look at the clickable tooltip for the Thumbnail Image field for more information on this. There is also a useful section in the New User Guide, linked from the Help menu.
Thanks for the very swift reply, Rich, and the great time saving method.
(i know this is an old thread, sorry!)
Hi, i've tried this, and it works for one image, but appears to throw it off with more than 1. ie,
If i have the following in a csv file....
SKU,Large image, main image, thumbnail image, basket image
I then enter only the large image address, and use SKU,URL,create(250,250),create(120,120),create(60, 60)
it only pics up the first image, and ignores ALL fields after this in the csv file! (i'm importing the whole product) I assume it's something to do with the "," in the create statement. Any way around this ?
Thanks
Steve
If i have the following in a csv file....
SKU,Large image, main image, thumbnail image, basket image
I then enter only the large image address, and use SKU,URL,create(250,250),create(120,120),create(60, 60)
Two things - the large image should be just the filename if it's located in the /products/large/ directory, definitely not a URL.
Most importantly - are you writing the CSV file by hand? If that was a literal dump of your file, then it should look like:
SKU,URL,"create(250,250)","create(120,120)","create(60,60)"
Without enclosures, the system can't determine which commas are acting as delimiters. It's best that you create your file in Excel or similar and save as CSV, Excel puts these in automatically.
ah! thanks, the csv is being generated by a .net application which takes the product details straight from our warehouse product system. don't worry, i'm not using full url's ;) I should have tried enclosing it in "" really :rolleyes: thanks :D:D
Steve
Yep, thats worked perfectly! thanks :D
chubster
04-03-2011, 16:05
This has sorted my thumbnails and basket but just noticed a lot of my main images are oversized, legacy from current site. Can I use a similar trick for the main?
For instance a lot of my images are coming out this size (http://bp49.betapark.co.uk/leather-dog-leads/ancol-12mm-leather-dog-lead.html), I assume I could use this as my "large" image and then use the create command for other images etc ?
naturalnursery
04-03-2011, 16:07
Yup - I did just that this morning.....did main, thumbnail and basket in one go, all taken from the large image.
chubster
04-03-2011, 19:53
Yup - I did just that this morning.....did main, thumbnail and basket in one go, all taken from the large image.
excellent....all done, many thanks
Just to resurrect this thread, can you do the same with alternative images too? Manually speaking, I can't see how to amend the size of an alternative image within the Images tab of the product, so how do you do this with the create command.
Also, I've never used a command before, do I just type the create bit in a new row under the column headers of Main image, Thumbnail image etc or does it go in the same cell as the words Main image etc?
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.