Creating polaroids using Flickr API (also how to space rotated elements correctly)

Hanging Polaroids

Some might say polaroids are a bit overdone when it comes to displaying your photos, but I’m going to be using the Flickr API┬áto get a selection of images and hang them on a virtual line.

There’s a bit more to this though, as I’ll be showing you how to calculate the actual widths of our hanging polaroids so that we can fit as many on the line as possible without having them overlap. This may sound trivial, but when we’re hanging our pictures at an angle it becomes slightly more complex.

Continue reading “Creating polaroids using Flickr API (also how to space rotated elements correctly)” »