image resize and crop done. but only in dialog_photos_without_gps function.