Search code examples
ruby-on-railsasp.net-mvc-3imageresizeresize-image

Image resizing + hosting (language independent)


For several of my applications (MVC3 / RoR / PHP) I am looking for a library (framework or as a service) to resize images on the fly + host the different sizes on a CDN / cache somewhere not to use my own bandwidth.

Bonus : It should work on mobile too to generate thumbnails + store them on a cache somewhere (S3 or Rackspace, whatever).

Thank you very much in advance for your replies.

Cheers


Solution

  • My company launched a service like this : cloudimage.io, but a few others exists too:

    For cloudimage.io, if you have an image such as http://mywebsite.com/photo.jpg, you can simply resize it at 400px for mobile like this : http://cloudimage.io/t/resize/400/mywebsite.com/photo.jpg.

    Then the mobile will download the images directly in the right size. On a mobile application, if your app is used worldwide, having your images stored on a worldwide CDN is usually better for the user experience.

    You'll find a lot of examples on the above websites.