Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1090712

    Hello
    I have a series of image boxes that are used to display documents. When you click on them, they open in a lightbox but they open fairly small still and we need to be able to zoom in and read the text.
    I followed some instructions here about adding a bit of code to open in fullsize to my functions.php file plus I set my Settings – Media large photos to 5000 x 5000 and regeneated my thumbnails. I also made sure the attachments were set to open to full size. This still doesn’t open the images to be large enough to be visible or have a zoom/magnify.
    hen I do right-click view image, it does open the original image which can be zoomed in.

    Please advise.

    #1091372

    Hey tamerax,

    Thank you for using Enfold.

    The lightbox script automatically applies a maximum height to the image so that it’s fully visible above the fold. You can adjust that with css.

    img.mfp-img {
        max-height: 2000px !important;
    }

    Best regards,
    Ismael

    #1091615

    That fixed the issue :)
    Thank you!

    #1091798

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Image Lightbox – Can't zoom in’ is closed to new replies.