• Resolved mevusas

    (@mevusas)


    Hi,

    This maybe a very basic question, but I wasn’t able to find solutions in previously asked question (though it may have been there).

    I want to be able to enlarge images by click. I have the simple lightbox plugin running. I assume the problem maybe that the images are not linked to their media file but I’m not sure how to solve this. I added this code snipper to the functions.php file:

     add_shortcode( 'gallery', 'file_gallery_shortcode' ); 
    
     function file_gallery_shortcode( $atts ) {
          $atts['link'] = 'file';
          

    but this doesn’t help

    thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, Hi, there do not appear to be any image links on the page you provided. Without links, there is nothing for visitors to click on and launch the lightbox.

    See SLB’s documentation for details on how to add links to images.

    If you are still experiencing this issue once image links have been added to the post, please post and updated link and I would be glad to reopen this ticket and take another look.

    Thanks.

    Thread Starter mevusas

    (@mevusas)

    perfect, thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘lightbox doesn’t seem to work’ is closed to new replies.