Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #975691

    Hi there,
    we are happily using Enfold for a photographers webpage. He is using the Masonry Galleries in portfolio sites. And he wants to open the images as big as possible AND open in the same size (if landscape or portrait).
    He is using the image size of 2600×1733 px for landscape images. But opening in the lightbox, some of the images are smaller than the others.

    The website I am referring to is in the private content. The very first image in Gallery 1 is smaller than e.g. the third in the same row. The image size should be like this (the third in the first row). But some others are smaller although the image size is the same (e.g. the one on the 4th row in Gallery 1)

    My question: How can we have the same image size in the lightbox (as big as it can be?)

    If you like, I can make you an admin in the site. Just give me a notice.

    Thank you for your time.

    #975732

    Additional information I got from the photographer just now: He is using the plugin WP/LR Sync to upload the images from Lightroom to WordPress. Don’t know if that causes the problem …

    #975873

    Hi Renko,

    If the original images are different and have different aspect ratios, the will be different in the lightbox, they can scale up or down but their aspect ratio will not change.

    Best regards,
    Victoria

    #975890

    Thank you for the feedback. But the images in the first gallery are all the same (2600×1733 px, landscape, 72dpi).

    #975957

    Hi Renko,

    Yes, and they do have the same size in the lightbox on my end. Do they show up different on your end?

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

    #976138

    Hello Victoria,
    the problem is, they don’t have the same size in the lightbox. Attached are two screenshots.

    The first image in Gallery 1 row 1 is smaller than the third image in row 1, Gallery 1, for example. They have the same size at the media (w x l, dpi), but they do appear at a different size in the lightbox. And the photographer wants them to appear the same size (as big as possible).

    Small preview

    Big preview

    Kind regards,
    Renko

    • This reply was modified 3 years ago by  Renko. Reason: image upload didnt work
    #976169

    Hi Renko,

    Can you disable caching and minification for now?

    Best regards,
    Victoria

    #976205

    Hi Victoria,

    I disactivated the plugin »WP Fastest Cache«. Anything else I can do? Do you want me to install you as a admin member of the site?

    Kind regards,
    Renko

    #976220

    Hi Renko,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    img.mfp-img {
      height: 100vh;
    }
    

    If that does not help yes, please give us access to your website.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #976235

    Wow, Victoria, that worked like a charm.

    Thank you for your wonderful assistance.

    Have a great day.

    Kind regards,
    Renko

    #976313

    Hi Renko,

    Glad this worked for you :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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

You must be logged in to reply to this topic.