added data display for photos in modal view; fixed a bug for info template display on gallery_items;