creating thumbnail, cropped image files
copy thumbnail url to image tag, close dialog
copy thumbnail url to image tag, close dialog