Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14976

    Hey

    I’m starting to add product images now. In a few of the products I will need a longer image for the phone straps. As you can see from the second image on this product, it gets cut off. How can I get the whole image to show?

    http://cutecreations.co.uk/wp/shop/chickie-phone-strap

    Kind regards

    Kate

    #85732

    Hi Kate,

    You’ll need to edit the image size that gets created for the single shop page in config-woocommerce>config.php. Look for:

    $avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>355);

    I would only recommend changing the height number to keep the image width consistent with the layout. Afterwards regenerate your images or only newly updated images will get the new image size specifications.

    Regards,

    Devin

    #85733

    Hi Devin

    I amended the height to 500px which is the same height as the second image but it hasn’t had an effect.

    Kind regards

    Kate

    #85734

    the page is still serving this image: http://cutecreations.co.uk/wp/wp-content/uploads/2012/05/Chickie_Phone-Strap_02-398×335.jpg

    Which is at the original size so if you had not already, regenerate your images using: http://wordpress.org/extend/plugins/regenerate-thumbnails/

    If that does not re-create the image properly you may need to delete the product completely then re-upload the product images while re-creating it.

    Regards,

    Devin

    #85735

    Hi Devin

    Why would it be cropping the original to 335px high though? I looked in the media files and it says it’s 398px x 500px

    I have regenerated the thumbnails.

    Kind regards

    Kate

    #85736

    Hi Devin

    Just figured out the problem. I have to change this code in the functions.php file:

    $avia_config = array(‘width’=>450, ‘height’=>500); // images for portfolio entries (2,3,4 column)

    Kind regards

    Kate

    #85737

    Make sure you are giving the page a hard refresh so you aren’t looking at cached content. It is showing the full image for me now.

    Regards,

    Devin

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

The topic ‘Product Image gets cut off’ is closed to new replies.