added provision to add images and videos in homepage