Stop website photo galleries after the last image

Q: I use your Visual LightBox version 5.0 and have a question. How do I make the gallery not loop after the last slide?

A: Open generated "visuallightbox.js" file in any text editor (for example, Notepad), find following parameter:


and set value "false" for it.