get image from content and show at index page