Home Forums Add-ons Gallery Field Control over Gallery Image Sizes


Control over Gallery Image Sizes

  • Hi Elliot,

    I recently purchased the Gallery Add On, the Repeater add on, and the Options add on.
    I’ve been experimenting with all the examples – but can’t seem to accomplish what I want.

    I would like to make a simple gallery, but have fine-tooth control over the size output.

    What method do you recommend to use to be able to have control over each picture in a gallery’s size.

    Thanks in advance!

  • Hi @mjkessel

    It all depends on what you mean by control over each picture in a gallery’s size.

    Please be specific, and I can give you my recommendation


  • Thank you for your quick response.
    I was trying to emulate something like on this site:
    using a combination of the gallery add-on and jquery masonry.
    Please let me know if you have any recommendations.

    PS – I love your plug ins!

  • Hi @mjkessel

    Thanks for the link. It will be hard to replicate this functionality using the gallery field due to the lack of a ‘size’ field for each image.

    However, it is possible to add another field group for all images (location rule = attachments) and you could add a ‘masonry_size’ select field.

    Now in your gallery field, you can edit each image and specify the size.

    Then in your template, just load in the selected size via this tutorial:

    The only limitation of this is that each image can only every have 1 size. So if you reuse the same image on 2 pages, they can’t use different sizes.

    Your other option is to use the repeater field and add 2 sub fields (image, masonry_size)


  • Thank you for your quick response – I will try those methods – and thanks again for making such an awesome plug in!

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

The topic ‘Control over Gallery Image Sizes’ is closed to new replies.