photos and video functionality added