Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7414

    when you link a portfolio picutre with the lightbox the box will show a big image and a tiny one.

    this makes much sense if you have more than one picture.

    how can you tell lightbox that if only one picture exists it should not show the tiny picture in the lightbox?

    kind regards



    we use the prettyphoto lightbox: – I’m not very familiar with the lightbox code and I can’t provide a solution but maybe you can get help here:

    If you’d like to deactivate the gallery thumbnails open up js/avia.js and replace

    elements.prettyPhoto({ "theme": 'premium_photo', 'slideshow': 5000 });


    elements.prettyPhoto({ "theme": 'premium_photo', 'overlay_gallery': false, 'slideshow': 5000 });

    Edit you can try to replace following line in:




    I haven’t tested the code but I hope it works.


    hi dude,

    the first code works.

    however i cannot find


    in the avia.js

    i assume this is to show the gallery only if there are 2 pics or more.

    well anyway it works awesome because if there are 2 images or more lightbox does show you arrows and a play button in the down left corner. enough for me needs. many thanks!


    Sorry I forgot to mention: The “pp_images.length” code can be found in js/prettyPhoto/js/jquery.prettyPhoto.js

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

The topic ‘portfolio custom lightbox’ is closed to new replies.