Reputation: 3
I'm setting up configurations for s3, but images doesn't display.
heroku log - doesn't show me any error about it.
I don't know where is problem.
Upvotes: 0
Views: 35
Reputation: 107107
You build image URLs in your application looking like this:
https://s3.amazonaws.com/instapin-rails/photos/images/000/000/002/medium/38847662_1905162256447081_1160841501610082304_n.jpg
But your Amazon configuration requires this format:
http://instapin-rails.s3.amazonaws.com/photos/images/000/000/002/medium/38847662_1905162256447081_1160841501610082304_n.jpg
Just change the prefix (host and the first path segment) and it should work.
Upvotes: 1