adds a lightweight lightbox plugin to the galleries, gpl
dirty hack to avoid photo paths without a slash at the end