Added S3 image upload and embedding