Detect/persist image dimensions when moving to S3