stripe_commerce icon indicating copy to clipboard operation
stripe_commerce copied to clipboard

Images not loading

Open lawrencealexander10 opened this issue 9 years ago • 4 comments

Hi, I am finding that images that are uploaded using the uploader cannot be accessed by the site and I have broken image links. Any advice would be helpful.

lawrencealexander10 avatar Apr 19 '16 01:04 lawrencealexander10

I'm going to need a little more. Can you give me the html that was output? Many times you need to go to AWS and open up the permissions to images. or update CORS

drhenner avatar Apr 19 '16 02:04 drhenner

I'm developing locally at the moment, but i'm getting 404 errors: http://localhost:3000/assets/products/2/large/shrimp.jpeg?1461023614 Failed to load resource: the server responded with a status of 404 (Not Found)

Immediately after using the uploader I see this, thus I am not sure if there is something wrong with the uploader: image

lawrencealexander10 avatar Apr 19 '16 02:04 lawrencealexander10

is the image located at Rails.root/assets/products/2/large/shrimp.jpeg

I have had issues like this when I didn't install ImageMagick correctly

drhenner avatar Apr 19 '16 03:04 drhenner

It is not; so the problem is with ImageMagick. Thanks; Would the ImageMagick instructions you included in the README help correct these issues

lawrencealexander10 avatar Apr 19 '16 03:04 lawrencealexander10