standardizes images for carousel