Skip to content

ImageCon 2018 Speaker Ryan Cooke, Pinterest on Delivering a Better Mobile Experience

For our first in a series of Q&A posts with our ImageCon 2018 speakers, we spoke with Ryan Cooke, a Software Engineer and Android Developer at Pinterest, a site that serves up billions of images everyday. In the following post he discusses why improving mobile images was important for improving the user experience and offers advice on building a mobile-first site.

Check back later this week for our next speaker post and follow all things ImageCon on Twitter at #ImageCon2018.

As we expanded to international markets Android was becoming our most popular app, so we really started going above and beyond to improve its quality. One thing that stood out was when iOS users tried the Android app they immediately noticed the images looked worse, and they were right. Seeing as we serve billions of images everyday this seemed like an opportunity for improvement. We were able to be really laser-focused on how images could be better. Our first couple of changes really showed an improved user experience, so we were able to justify that image quality matters, and eventually we were able to take what we learned from Android back to other platforms.

My personal take is to build as little from scratch as you can. Use the tried and tested patterns, third party libraries, etc. This will let you get moving fast and will likely give you an infrastructure that won’t completely need to be rewritten. New hires may even be able to work with familiar tools. In regards to image loading specifically, I’d recommend using one of the existing third party client side tools (on Android: Picasso, Glide, Fresco; on iOS: PinRemoteImage) to handle the heavy lifting. If your app is really image heavy and you expect to be doing a lot of work on making the images the best they can be it may be worth adding a wrapper around the library so you can replace it with your own or another one as the need arises.

My biggest takeaway is that good image prefetching and caching makes a big impact on how the user sees your app. On a lot of apps it is very easy for a developer to already have the images ready for the user before the user would see them. Think of something like a movie ticket app, where they show the poster for the movie. There are like 20 images total the app will display at any time and it would be easy to have those loaded before I scroll to it, but they don’t. The result is even on a high quality network I see the placeholder and then the content loading over the placeholder. The content changing will often draw my eye because it is motion, but it’s probably not what the developer wants the user to be looking at. Overall it gives a subconscious feeling of a slow site and something not quite done. Our users at Pinterest still sometimes see placeholder images, but through clever prefetching they see them less and less.

Back to top

Featured Post