Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need advice for image hosting websites

I'm developing my personal photography portfolio using Ruby on rails. I'm not at all saving those images in my assets/images folder as there are many high resolution images which will cost increase in size of the site folder. So i thought to upload those pics on some image hosting websites so that ill only give a URL of that pic which will dramatically cost in decreasing the size of the site folder. Ive three questions regarding my portfolio: 1. Is this the right way to do for portfolio websites? 2. What are the best image hosting websites for such need? 3. On what basis ill use the database for my portfolio?

Thanks.

like image 735
Ahmad hamza Avatar asked Nov 23 '12 22:11

Ahmad hamza


People also ask

What should be the necessary feature of an image hosting site?

The important factors that you need to think about when using an image hosting site are price, storage, quality of pictures, security, shareability, and features.

What is the best image hosting site for you and why?

Google Photos is an excellent service for uploading high-quality images. And you can do so in large quantities, which is something a lot of other sites don't offer. The platform offers automatic backup as well as unlimited space and uploads. Videos can have a maximum resolution of 1080p.


1 Answers

You should check out some CDN (Content Delivery Network) service like

  • Amazon S3 + Amazon CloudFront
  • Rackspace Cloud Files
  • Cloudinary

Ruby has many gems for managing cloud services like these. For example:

  • fog gem (actively developed by guys at Heroku and Engine Yard)
  • cloudinary gem
  • carrierwave gem (handles automatic uploading to CDN and database storage)
  • carrierwave + cloudinary (easy tutorial here)
like image 60
Ahmed Al Hafoudh Avatar answered Oct 05 '22 15:10

Ahmed Al Hafoudh