added possibility to define albumid and photoid