series = ah.getSeries (series_id)
photos = []
for i in range (series.photo_count):
photos.append ('%s/%s/%i.jpg' % (cfg.webPhotosPath, series.id, (i + 1)))
data.locals.photos = photos#ah.getPhotos (series_id, all = True, new_view = True)
data.locals.Photos = ah.getPhotos (series_id, all = True)
data.locals.names = ["'%s'" % photo.title for photo in ah.getPhotos (series_id, all = True)]
/var/web/www/gallery.cgi, line 77:
for i in range (series.photo_count):
/var/web/www/gallery.cgi, line 238:
html = handler(DATA, ah, fd)