Tagged: Masonry Gallery
-
AuthorPosts
-
August 10, 2019 at 1:36 am #1126357
Hi,
I’m using the masonry gallery element and need it to always load the full size version of the images for each gallery item. For example, for the positioning I’m using, I need the landscape image to be 1080x1440px. However, the masonry element is always using the 529x705px version, so the image pixelates on large screens because I’m running the masonry gallery “stretch fullwidth”. Can you show me how to modify masonry_gallery.php in order to force it to always use the fullsize version of an image no matter what?
Thanks in advance!
August 10, 2019 at 6:10 pm #1126481Hey waxingmedia,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 12, 2019 at 6:26 pm #1126896Hi, Victoria
Thanks for the reply. Please see private content area below. Thanks for the help!
For the 3 images on the homepage that use the masonroy gallery, I want them to always load their fullsize images. Currently, they load smaller versions. I don’t see anyway to change it in the wp admin, so that’s why I was thinking that the change had to be made to the module’s PHP file.thanks again!
- This reply was modified 5 years, 3 months ago by waxingmedia.
August 13, 2019 at 1:20 pm #1127192Hi waxingmedia,
Please have a look at the following threads:
https://kriesi.at/support/topic/full-list-of-image-dimensions-for-enfold/#post-373563
https://kriesi.at/support/topic/enfold-masonry-post-image-size/If you need further assistance please let us know.
Best regards,
VictoriaAugust 13, 2019 at 5:19 pm #1127296Hi, Victoria
Thanks for the links! unfortunately, they’re not accomplishing what I’m looking to do. Take a look at the screenshot referenced in the private content to see what I’m trying to accomplish. I always want the images in that masonry gallery to display at fullsize regardless of the browser width.
Thanks in advance!
August 19, 2019 at 4:41 am #1128798Hi,
Thank you for the update.
You have to adjust the default size of the “masonry” thumbnail. The following plugin should help.
// https://wordpress.org/plugins/simple-image-sizes/
After the plugin activation, go to the Settings > Media panel and look for the “masonry” thumbnail. Adjust it to the desired size, update, save and then regenerate thumbnails. However, please note that even if you managed to use the desired thumbnail size for the masonry, the image might not display in full because it has to resize the image to keep its aspect ratio therefore parts of image may overflow outside the masonry container. You can adjust that using css but it will probably distort the image or create white space around the container.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.