If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Tagged: , ,

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

    Is there any way to customize the lightbox colors so that they fit the Enfold template (for example dark) and to display images in full-screen

    http://wpml.viramedia.de/portfolio-item/lorem-ipsum/

    cause LightBox is always reduzing the image size instead of showing them in full size

    Thanks
    Igor

    #242581

    Hi Viramedia!

    You can try to use the dark lightbox skin. Open up enfold/js/avia.js and replace

    
    elements.prettyPhoto({ social_tools:'',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    with

    
    elements.prettyPhoto({ social_tools:'', theme: 'dark_rounded', slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    or

    
    elements.prettyPhoto({ social_tools:'', theme: 'dark_square', slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    2) Yes, you can link to the fullsize image by adding this code to your child theme functions.php file:

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

    Regards,
    Peter

    #247780

    Thanks Peter
    I like the fullscreen button…. but is there a way that pictures can be shown in fullscreen mode on a display instead of being framed? Cause the lightbox isn’t really user friendly, especially not on smartphones…. you can’t scroll pics in a simple way

    thanks for helping

    #249045

    Hello!

    It is possible but that would require a heavy customization and unfortunately that’s beyond the scope of the support we can offer. If you really need it try hiring a freelancer for the job or if you prefer request a quote here.

    Cheers!
    Josue

    #565769

    2) Yes, you can link to the fullsize image by adding this code to your child theme functions.php file:

    This is a basic feature that has long been missing from Enfold theme. Even WordPress standard gallery allows you to pick the size to display in the lightbox. Enfold’s gallery should have no problems allowing users to customize the size of images to be displayed in the light box without changing the maximum size in media settings.

    #566061

    Hey!

    Please post it here.

    Best regards, 
    Josue

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

You must be logged in to reply to this topic.