• Resolved stv11c

    (@stv11c)


    Hi, I noticed the lightbox loads the full size original image that was uploaded. Is there a way to choose a registered WordPress image size (thumbnail, medium, large)? I would like to load the ‘large’ size instead of full size within the lightbox.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Johannes Kinast

    (@goaroundagain)

    Hi @stv11c,

    baguettBox.js takes the URL from the <a> link around the Image. You can change the Link from Media File to the URL of the large-size, but you have to do this manually for all images.

    Thread Starter stv11c

    (@stv11c)

    Hi @goaroundagain

    Thanks for the quick response. I see what you mean about the <a> url and that makes sense. I assume the full img URL is set by WP when choosing link to ‘Media File’. Unfortunately the WP Gallery Block does not allow you to choose a size for the ‘original’ image url when adding to the gallery. There is only a size setting for how to display the images within the gallery.

    This looks to be a WP limitation then. Thanks again.

    Regards

    • This reply was modified 3 years, 3 months ago by stv11c.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Choose WordPress Image size in lightbox’ is closed to new replies.