Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #1126481

    Hey 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,
    Victoria

    #1126896

    Hi, 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 4 years, 8 months ago by waxingmedia.
    #1127192

    Hi 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,
    Victoria

    #1127296

    Hi, 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!

    #1128798

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.