Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 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

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

You must be logged in to reply to this topic.