Captions from the photos are now embedded.
Added aspect ratio for the thumbnails.
Resize and rotate work and are tested.