adding thumbnail support to s3 uploaded