The command was a read:
Magick::Image::read(photo_url)
So if I change my policy.xml file to include this line:
<policy domain="coder" rights="read | write" pattern="HTTPS" />
should that fix the 'not authorized' error?
thanks.
Search found 2 matches
- 2016-05-10T11:05:56-07:00
- Forum: Developers
- Topic: Issue cropping images on heroku with image magick
- Replies: 27
- Views: 33541
- 2016-05-10T10:37:16-07:00
- Forum: Developers
- Topic: Issue cropping images on heroku with image magick
- Replies: 27
- Views: 33541
Issue cropping images on heroku with image magick
Hi, I get the following error in production on Heroku in my Rails app when trying to crop/upload photos to Amazon S3 using ImageMagick: Magick::ImageMagickError: not authorized `//s3.amazonaws.com/[LONG URL PATH HERE]' @ error/constitute.c/ReadImage/454 I've been trying various proposed fixes ...