Tagged: image size, Lightbox, Masonry Gallery
-
AuthorPosts
-
June 21, 2018 at 9:03 am #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.
June 21, 2018 at 10:24 am #975732Additional 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 …
June 21, 2018 at 5:25 pm #975873Hi 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,
VictoriaJune 21, 2018 at 5:57 pm #975890Thank you for the feedback. But the images in the first gallery are all the same (2600×1733 px, landscape, 72dpi).
June 21, 2018 at 8:25 pm #975957Hi 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,
VictoriaJune 22, 2018 at 8:29 am #976138Hello 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).
Kind regards,
Renko- This reply was modified 6 years, 5 months ago by Renko. Reason: image upload didnt work
June 22, 2018 at 9:36 am #976169Hi Renko,
Can you disable caching and minification for now?
Best regards,
VictoriaJune 22, 2018 at 10:15 am #976205Hi 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,
RenkoJune 22, 2018 at 10:45 am #976220Hi 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,
VictoriaJune 22, 2018 at 10:56 am #976235Wow, Victoria, that worked like a charm.
Thank you for your wonderful assistance.
Have a great day.
Kind regards,
RenkoJune 22, 2018 at 1:22 pm #976313Hi Renko,
Glad this worked for you :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.