-
AuthorPosts
-
August 30, 2023 at 8:49 am #1417510
does custom link work on gallery ( setting: use custom link – fallback is image link) on your installations ( newest Enfold 5.6.6)
August 30, 2023 at 11:10 am #1417530ok 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.
August 30, 2023 at 12:00 pm #1417543by 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
August 31, 2023 at 8:00 pm #1417721Hi,
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,
MikeAugust 31, 2023 at 8:30 pm #1417724I think this would be a good option to choose. So – yes, please pass it on to Günter
September 1, 2023 at 1:14 am #1417733Hi,
I created a feature request for your idea, thanks.Best regards,
MikeSeptember 1, 2023 at 11:30 am #1417779Thanks – you can close the topic now
or does that filter can do that job?
avf_alb_masonry_img_custom_link_fallbackand 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 2 years, 1 month ago by
Guenni007.
-
This reply was modified 2 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
