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

    Hi,

    I’m sure that this must have been requested before, but I’m having difficulty finding the right code to use ( with certainty, anyway, as I’m New Here! )

    I’ve a large Portfolio of items ( Cakes ) for which the Masonry Content Element is ideal – as the images vary in size and cannot be cropped.

    But I’d like simply to display a large Lightbox image when an item is clicked rather than be directed to the items Post

    Can I do this ?

    What code do I need to add ?

    Mike

    #1183734

    Hey MikepFive5,

    Thank you for the inquiry.

    Have you tried using the Masonry Gallery instead of the Masonry element for posts? The gallery items are automatically set to open the large version of the image in a modal popup window or lightbox.

    Best regards,
    Ismael

    #1185394

    Iamael,

    Thanks

    sorry that I’ve not got back to you sooner ( notification of your response passed me by in a rain of other emails )

    Put simply, Masonry gallery requires individual selection of images, rather than being able to exploit the Category classification and structure associated with portfolio posts – which is a much more reliable method to both set up, manage and maintain!

    My client has a large, and growing, number of Cake images and categories. Managing these on a page by page basis would be tedious and less reliable.

    [ I’m sure I’ve seen posts about this in your support forum – but find it difficult to re-locate items previously read ]

    Regards Mike

    #1185547

    Hi,

    Thank you for the update.

    You might be able to use the avf_masonry_loop_prepare filter to replace the default value of the url with the thumbnail image in the post loop.

    Example:
    // https://kriesi.at/support/topic/read-more-in-masonry-functions-file/#post-885717
    // https://kriesi.at/support/topic/add-in-masonry-after-title-also-the-authors-name-and-category/#post-1044519
    // https://kriesi.at/support/topic/add-acf-fields-in-portfolio-grid-masonry-without-using-the-shortcode-map/#post-1170991

    Best regards,
    Ismael

    #1185596

    Ismael,

    many thanks – that’s what I was looking for

    I’ll give it a try

    Mike

    #1185703

    Hi MikepFive5,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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