Live data from Hacker News

Show HN: Ospry – Simple image hosting for developers

ospry.io

1–10 of 11 posts

Re: Show HN: Ospry – Simple image hosting for developers

#2
pricing compared to s3: assuming 5,000 photos ~5gb of data. $0.15 for storage 40gb of outgoing traffic is $4.80 So you're basically paying double the s3 prices for convenience. This service also does image manipulation and cdn integration. So you should also calculate your expected cost of using ec2 and a cdn. (BTW not ripping on the op. I like the service and was genuinely calculating the costs for my own use case).

Re: Show HN: Ospry – Simple image hosting for developers

#3
$10/month for 5,000 images and 40GB of transfer.

No bulk bandwidth pricing, but $0.15/GB isn't a huge mark up over Rackspace's initial bandwidth price of $0.12. With room for 5000 images (2.5GB? 5GB?), it's a pretty slim margin if users really push it to the limit.

Not a bad deal, all things considered.

Re: Show HN: Ospry – Simple image hosting for developers

#6

pricing compared to s3: assuming 5,000 photos ~5gb of data. $0.15 for storage 40gb of outgoing traffic is $4.80 So you're basically paying double the s3 prices for convenience. This service also does image manipulation and cdn integration. So you should also calculate your expected cost of using ec2 and a cdn. (BTW not ripping on the op. I like the service and was genuinely calculating the costs for my own use case).

Assuming you perfectly use the maximum capacity, at which point, the service is probably useless because no one can upload new photos.

It's super easy to do this if you're already running your website on ec2, and S3 for a few hundred photos will cost you less than a dollar per month.

Is this for Heroku users because running a single dyno to resize images costs $30 / month?

Re: Show HN: Ospry – Simple image hosting for developers

#7

pricing compared to s3: assuming 5,000 photos ~5gb of data. $0.15 for storage 40gb of outgoing traffic is $4.80 So you're basically paying double the s3 prices for convenience. This service also does image manipulation and cdn integration. So you should also calculate your expected cost of using ec2 and a cdn. (BTW not ripping on the op. I like the service and was genuinely calculating the costs for my own use case).

If it is purely image hosting, that is expensive. But if it does image resizing on the fly, I'd say it's worth it.

Re: Show HN: Ospry – Simple image hosting for developers

#8
post #5

Great job. Does the JS client support mobile browsers?

Thanks! We know it works on iOS7 and Android (KitKat). It should work on any browser that supports file inputs (see http://viljamis.com/blog/2012/file-upload-support-on-mobile/). We also have native mobile libraries in the pipeline.

Re: Show HN: Ospry – Simple image hosting for developers

#9

Get started in 3 steps is assuming jQuery is being used - please include Vanilla JS option.

Here you go:

   var ospry = new Ospry('YOUR_PUBLIC_KEY');

   //UPLOAD
   var el = document.getElementById('up-form');
   el.addEventListener('onsubmit',function(e) {
     e.preventDefault();
     ospry.up({
       form: this,
       imageReady: imageReady,
     });
   },false);

   //DOWNLOAD
   ospry.get({
     url: metadata.url,
     maxHeight: 400,
     imageReady: function(err, domImage) {
       document.appendChild(domImage);          
     },
   });
It's the same amount of steps.
Post reply on HN