Use classes instead of id's for photos.