adding photos to detail page