Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey AmOk. I’m a fellow user of Blocksy. What you are referring to, sounds like a “lightbox” feature. That is not a core WordPress feature, but you are right, some themes does include that as an option, however, it introduces extra javascript code, and that might be why it is considered plugin teoritory.

    There are several lightbox plugins here on WordPress.org. I personally use Easy Fancybox, which can be configured not only to display images and galleries in lightboxes, but also videos, iframes and more.

    https://wordpress.org/plugins/easy-fancybox/

    Hope that helps.
    Bjarne

    Thread Starter Am0k

    (@am0k)

    Thanks for yor reply @oldrup but i’d like to know how to implement it without plugins.
    I tried with:

    add_theme_support( 'wc-product-gallery-zoom' );
    add_theme_support( 'wc-product-gallery-lightbox' );
    add_theme_support( 'wc-product-gallery-slider' );

    Source

    It open the product image in a lightbox but the image show screeched and it not zoom the image at 100%

    BTW, i’d like to know how other themes implemented that common useful lightbox product in their themes.

    Cheers!

    • This reply was modified 4 years, 2 months ago by Am0k.
    Theme Author creativethemeshq

    (@creativethemeshq)

    Hey @am0k,
    First of all, the image you showed us is a simple carousel/slider and @oldrup replayed correctly to your question.
    But as I can see and understand now, your question is related to WooCommerce single products – you have to be more clear when asking something in order to receive a correct answer.

    1. If you want to enable the single product image lightbox simply go to Customizer -> Single Product -> and enable the Image Lightbox option.

    2. Gallery Zoom & Slider – are disabled for now because we used our own image component in order to make the images load with lazy load, but we plan to add the slider & image zoom soon.

    Hope this makes sense.
    Cheers.

    Thread Starter Am0k

    (@am0k)

    Hi @creativethemeshq,
    You’re right i was in a rush and i posted the wrong image. Apologizes to you and @oldrup

    I enabled the lightbox as you suggested, but the problem still persist.

    Here you can see what i mean. When i click on the image and it open in the lightbox the proportions are staggered.

    2. Gallery Zoom & Slider – are disabled for now because we used our own image component in order to make the images load with lazy load, but we plan to add the slider & image zoom soon.

    Alright, if there is no way to solve this i can’t do anything than wait then.

    P.S: Congratulations for yor hard work, i’m nobody to say something but if i can leave a feedback id say that this is for sure a hell of great theme, just need some improvement. Expecially for the ecommerce part.

    Take it up with your good work and congratulations again guys.

    Cheers!

    Update: It was a problem regarding the image ratio, setted to 1/1 the image appear proportioned.

    • This reply was modified 4 years, 2 months ago by Am0k.
    Theme Author creativethemeshq

    (@creativethemeshq)

    @am0k glad you figured how to set your images.

    Thank you for your kind words, you can leave a review here if you want 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why no zoom image?’ is closed to new replies.