Gallery Full Screen

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #937990
    Alvaro García
    Participant

    Is possible to show the images of the gallery of an accommodation on a lightbox or something like that, I would to see it on full screen

    #938364
    sharron bradley
    Participant

    Hey, I’m currently also trying to achieve this, any help from any professionals would be greatly appreciated!

    #938740
    Alvaro García
    Participant
    This reply has been marked as private.
    #939195
    sharron bradley
    Participant

    Hello, post has been made private? can anyone suggest a solution to this?
    Many thanks

    #939292
    Andre Flores
    Moderator

    Hi, Alvaro and Sharron!

    You may achieve this by adding the following code to your theme functions.php file (add it to child theme function.php file if you are using it):

    add_action('booklium_render_single_room_gallery', 'booklium_single_room_type_gallery_add_link_to_file');
    
    function booklium_single_room_type_gallery_add_link_to_file() {
    add_filter('mphb_loop_room_type_gallery_main_slider_image_link', function (){
    return 'file';
    });
    }

    The above code will link gallery images to the image file. In order to add a lightbox you may use some additional plugins, e.g. Responsive Lightbox & Gallery.

    Regards,
    Andre

    #941057
    Luis
    Participant

    Merci. Wait and see

    #941621
    Andre Flores
    Moderator

    Hi, Luis!

    You are always welcome.
    Anyone who also needs this feature, feel free to let me know by commenting this topic.

    Regards,
    Andre

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.