Resize image with GrapthicMagick and upload on S3