(Deprecated) Photogallery code source for Silva CMS