This document discusses managing images on Heroku. It identifies Cloudinary as an addon that can meet the requirements of using images in different sizes, caching images, and using a CDN. Cloudinary provides image management capabilities as both an addon and non-addon plan. While the addon is straightforward to use, a third party uploader may still need to be implemented to allow user uploads.
1. - Managing Images on Heroku -
Hiroyuki Hayashi
2012.09.11 Heroku Meetup #6 @STARTUP Base Camp
2. Who?
Ñ Hiroyuki Hayashi
Ñ @hiroyou1984
Ñ CTO
at Entertainment-‐‑Kick Co., Ltd.
Ñ Use
Rails since Sep 2011 -‐‑ 3.0.10
Heroku since Apr 2012
2
hRps://www.findjpn.com
2012/09/11
3. Since Aug 2nd 2011
↓
153 Activities
as of Sep 11th
FindJPN
is a web service based in Japan for travellers to book and experience
o^eat activities hosted by locals.
3
hRps://www.findjpn.com
2012/09/11
4. Problem
Ñ How should we manage images on heroku?
Ó Currently we manage the contents, but we’d like to open our
platform as a marketplace. At that time, we need to allow users
to upload images by themselves.
4
hRps://www.findjpn.com
2012/09/11
5. Which do you like?
Details
Shodo is a type of traditional Japanese
art style that uses brushes and ink to
write "ʺKanji"ʺ, or other Chinese
characters.
In the world of Shodo every single
character has its own meaning and
how you write the character expresses VS.
your feeling or your thought in what
you write.
In this lesson, you'ʹll have the
opportunity to create your own unique
Japanese souvenir by writing your
name in Kanji on a T-‐‑shirt, a Japanese
fan, or another item of your choice.
5
hRps://www.findjpn.com
2012/09/11
6. Requirements
ü Use images in different sizes
ü Cache the images
ü Use CDN (if it’s cheap)
Ñ Are there addons to meet these requirements?
6
hRps://www.findjpn.com
2012/09/11
7. Cloudinary
Ñ Does it meet the requirements?
Ó A heroku addon to manage images.
Ñ What’s the benefit to use it as addon?
Ó They also provide non-‐‑addon plan which is cheaper.
Ñ What do we have to do by ourselves?
Ó i.e. Another 3rd party service ‘chute’ provides an uploader
which cloudinary doesn’t.
7
hRps://www.findjpn.com
2012/09/11