images in the homepage from database, image validation update