photoCarousel now properly sizes and orients images in the dialog