# 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:** 8

<div class="post-metadata">

**Author:** ![cbonsig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cbonsig/32/104734_2.png) [@cbonsig](https://meta.discourse.org/u/cbonsig)\
**Post date:** [June 3, 2013, 4:26am UTC](https://meta.discourse.org/t/storing-images-in-the-cloud/6779/8 "2013-06-03T04:26:15Z")

</div>

> [@benbeltran](#):
>
> maybe it’s going through more than one provider (e.g. s3 + imgur) and they’re borking each other

good thought, but I confirmed that only imgur was active

> [@benbeltran](#):
>
> Are you sure you’re doing File.size(file.tempfile)?

yep. i trashed my `imgur.rb` and replaced it with yours. and triple checked it!

> [@benbeltran](#):
>
> Test locally w/o entering the rescues

I don’t know what that means ☹ … I tried commenting out the `rescue` code, and there didn’t seem to be any difference. I kinda have the feeling that Imgur is just completely hosed in my installation at this point. So I’m not going to worry about it for now.

> [@benbeltran](#):
>
> make sure you’re uploading to a directory that is symlinked from outside of the releases dir

Got it. I moved the whole `/htdocs/public/` folder outside to a different spot, and created a symbolic link. That seems to be working fine.

Thanks again for getting back to me!

---

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