Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1417510

    does custom link work on gallery ( setting: use custom link – fallback is image link) on your installations ( newest Enfold 5.6.6)

    #1417530

    ok on a fresh install – it works – so I think there must be something in the child theme functions.php that is preventing it from working correctly.

    Edit: ok – this known snippet to set the lightbox size to full from galleries :

    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }
    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);

    disturbs the correct behavior of custom_link setting.

    #1417543

    by the way – if the setting: “use custom link – fallback is image link” – is made – it would be nice if there is an option to preserve the lightbox behavior on images without custom_link !

    “custom-link fallback is lightbox image link”. that would be a great option

    #1417721

    Hi,
    It sounds like you have sorted out this issue, did you want to summit a feature request for thw “custom-link fallback is lightbox image link” option?

    Best regards,
    Mike

    #1417724

    I think this would be a good option to choose. So – yes, please pass it on to Günter

    #1417733

    Hi,
    I created a feature request for your idea, thanks.

    Best regards,
    Mike

    #1417779

    Thanks – you can close the topic now

    or does that filter can do that job?
    avf_alb_masonry_img_custom_link_fallback

    and how to set then to lightbox if fallback … ?

    Edit: on one page it works this way as wanted – so i had to inspect the other installation what hampered the desired way.

    • This reply was modified 1 year, 2 months ago by Guenni007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.