added raw_id_field for photo in gallery item