Skip to content

Heroku Doesn't Support Image Uploads Natively #55

@kenmazaika

Description

@kenmazaika

Right now, user uploaded images via paperclip are hosted on heroku's app.

Example:

http://ruby-monday-blog.herokuapp.com/system/posts/images/000/000/002/thumb/hacker.gif?1438966069

This will work for a short period of time (maybe 3-4 hours), but then heroku will wipe out the image. For details why, see this post here (ignore the carrierwave info there - that's a separate gem):
http://blog.thefirehoseproject.com/posts/switching-carrierwave-to-use-s3-with-heroku-and-localhost/

For details about how to fix it with paperclip checkout this blog post:
https://devcenter.heroku.com/articles/paperclip-s3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions