function added to display aspect ratio+ images being fetched from db