November 6, 2013 at 12:19 am #184994
I am running woocommerce with abundance.
I am confused a bit by the multiple options for setting up image sizes for products.
Please have a look at this screenshot: http://img32.imageshack.us/img32/3163/mxgz.png
These pics have all the same width, but different hights.
Please have a look at my woocommerce-options I chose in this screenshot: http://img801.imageshack.us/img801/1068/ussa.png
I would expect to get pics that all have 300x300px instead of the result in screenshot 1.
How can I make this look better (all the same sizes)?
BorisNovember 7, 2013 at 2:54 am #185441
Edit woocommerce-config > config.php, find this code:
$avia_config['imgSize']['shop_catalog'] = array('width'=>300, 'height'=>300);
Replace it with:
$avia_config['imgSize']['shop_catalog'] = array('width'=>300, 'height'=>300, 'crop'=>false);
Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
Please upload images with almost the same height and width.
IsmaelNovember 7, 2013 at 11:40 am #185548
Question: Isn’t that just the same, as if I untick the first woocommerce option “Beschneiden”? Have a look at my second screenshot above. Why edit it in the code?
Well, I just tried both ways, before I posted this, and nothing changed either way.
One comment to the imagesizes: Of course I can try to use images with almost same hight and width, and this would probably solve the problem. But this is the problem, since the pictures are provided by the product producers. I thought the code and the options would solve that for me ;-) Don’t they?
BorisNovember 8, 2013 at 10:28 am #186061
Please check the source images and make sure they’re bigger than 300x300px – WordPress won’t re-size them if the width or the height doesn’t exceed 300px.
PeterNovember 13, 2013 at 7:29 pm #187906
That helped! And I found out, that constructing rectangle picrures is quite easy (GIMP) and after resizing them on 700×700 woocommerce creates all kinds of derivates from that source, that are quite small. (As far as I could see the source is never being used in any display, so you could even upload a 2 mb file without getting any performance problems…)
Woocommerce is doing better than wordpress, in that case ;-)
So, problem solved.
The topic ‘How to setup shop pictures correctly?’ is closed to new replies.