Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #184994

    Hi,

    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)?

    Best

    Boris

    #185441

    Hi Boris!

    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.

    Best regards,
    Ismael

    #185548

    Hi Ismael,

    thanks!
    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?

    Regards

    Boris

    #186061

    Hey!

    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.

    Best regards,
    Peter

    #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.

    thx

    B.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to setup shop pictures correctly?’ is closed to new replies.