Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #489525

    Hi,

    On this page: http://strategiemakers.tienvijf.nl/team/ Im trying to get the masonry grid to display 2:1 and square sizes. I want the single images to be displayed square and the longer ones twice the size of the small one. Now they are all sort of rectangular.

    Do i need to adjust the template files or is there an easier way?

    Thanks in advance

    #490038

    Hey Rhodo!

    your masonry gallery looks exactly the way you have describes it. Could you fix it already?

    Best regards,
    Andy

    #490044

    Hi Andy,
    Thanks for your reply.

    No the gallery doesn’t look the way i want it to. Now the small images are 260x205px. I want those to be square: so 260x260px
    And the larger ones should be 534x260px instead of 534×205.

    Thanks again!

    #490999

    Hi!

    you can control image sizes with this plugin: https://wordpress.org/plugins/simple-image-sizes/
    Don’t forget to regenerate the thumbnails you have modified.

    Regards,
    Andy

    #491318

    Hi Andy,
    Thanks but that still doesnt work though :(

    Somehow the CSS of the masonry elements give them a different height. In the code i see a square image is being used but it’s being cropped beacuse of the container around it.

    Isn’t there any way to make the masonry grid display square images?

    Rhodo

    #491979

    Hey!

    The masonry element is using the isotope script which calculates the position of the masonry items dynamically. I’m afraid, it’s not possible to control the height of the items without breaking the script. The width and height of the masonry items will depend on the number of columns and the current width of the main container.

    Best regards,
    Ismael

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