# Storing Images in the cloud

**URL:** <https://meta.discourse.org/t/storing-images-in-the-cloud/6779>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [May 21, 2013, 11:56pm UTC](https://meta.discourse.org/t/storing-images-in-the-cloud/6779 "2013-05-21T23:56:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![colin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/colin/32/103221_2.png) [@colin](https://meta.discourse.org/u/colin)\
**Post date:** [May 21, 2013, 11:56pm UTC](https://meta.discourse.org/t/storing-images-in-the-cloud/6779/1 "2013-05-21T23:56:32Z")

</div>

My project tonight is to get image hosting working. After a recent upgrade it looks like something got screwed up. When I redeploy, the images get b0rked.

![](https://global.discourse-cdn.com/meta/original/1X/bff794d31c291ffcb1aa4d3eee62bc1af0b01dc9.png)

There are 3 option I’m exploring and dang nabbit, I’m going to try to get one working tonight.

## 1. Uploading to S3.

This is my preferred solution, but it isn’t currently working.

> <https://gist.github.com/sud0n1m/6e19440df97882ca0242>

## 2. Uploading to Imgur

Second best… I got an API key from them. Config seems fine. Similar failure.

> <https://gist.github.com/sud0n1m/60263253879ee6c953ab>

## 3. Uploading to my server

This seems to usually work… but when I deploy, the file disappears. Seems I need to figure out how to config to save it in a different directory so I don’t deploy over it.

Wish me luck! If I figure out any answers I’ll post them here.

---

_[View the full topic](https://meta.discourse.org/t/storing-images-in-the-cloud/6779)._
