Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #330918

    Hello Enfold support team,

    So i updated to Enfold 3.0 and i’m testing the new features. Some of them will be very useful for me, and i find this major version update kind of “bugless” which is a great relief.

    I found this new feature in the list : “filter so user can programmatically change the lightbox image size”. But i can’t find the filter. Could we have a link ?

    Thanks and good work.

    #331972

    Hey!

    That’s the avf_avia_builder_helper_lightbox_size filter (affects ALB attachments links), you can use it this way:

    function change_lightbox_size() {
    	return "full"; // default is 'large'
    }
    add_filter('avf_avia_builder_helper_lightbox_size', 'change_lightbox_size', 10);

    Source:
    /config-templatebuilder/avia-template-builder/php/generic-helper.class.php:25

    Regards,
    Josue

    #332767

    Thanks Josue.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Lightbox image size filter’ is closed to new replies.