Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1409479

    Hi,

    sorry if this is answered anywhere in this forum but after searching for about an hour, and not finding an answer to exact my question, I’ll try it with a new topic.

    Which size has full / single product image (Lightbox Image when I click on the Square Preview Image) when using enfold? (As enfold overwrites the woocommerce settings)
    From what I found I assume 999, 1000 or 1030 Pixel?
    How can I enlarge this size to maybe 1500 or 2000 on the long end?
    I found here a snippet for the Child Functions.php which so I assume let me set the sizes in Woocommerce instead of Enfold. But then I have to know exact the sizes for thumbnails etc, which enfold is using… So I would prefer changing the product images size for enfold.

    Where and how can I change the Single Product Image size in Enfold ? And do you have a list for the woocommerce sizes? (The enfold sizes for the normal Site I found)

    Thanks
    Frank

    • This topic was modified 1 year, 1 month ago by frawer.
    • This topic was modified 1 year, 1 month ago by frawer.
    #1409525

    Solved it. I had to understand that the images shown for the Full Size Product Images in the Lightbox are not defined by Enfold but by WordPress. With the large Thumbnail Size Setting. I thought that there was a different setting in Enfold itself.

    It seems. not to be possible to make the size for the Woocommerce Lightboxes independent from the Large Thumbnail Sizes defined in WordPress. Because I would need the larger Size for the Large Thumbnails only in Woocommerce but not on regular pages.

    Or can I make this independent?

    #1409544

    Hi,
    To make the single product page images link to the full size images in lightbox, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function change_lightbox_size() {
        return "full";
    }
    add_filter('avf_avia_builder_helper_lightbox_size','change_lightbox_size', 10);

    This also changes the linked lightbox image for image elements

    Best regards,
    Mike

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.