photogallery example now uses localhost