add media and photo preview