![]() I’ve run this on the 8,600 posts here and updated 1,044 images. To achieve all of the permutations and combinations I needed to handle, I hacked together a Drupal module to look at every post on the blog, see if it had embedded Flickr photos, download the largest version available of any embedded photos from Flickr, modify the HTML for the image to point to the new local image locations, and update the blog post. As digital cameras have evolved, and as the width of my blog template has expanded, I’ve taken and embedded ever-larger photos Flickr has different URLs for different photo sizes, and I generally wanted to find the largest one available and use that, even when I’d previously embedded a smaller version.Over the years there have been various URL schemes at Flickr for referencing photos: what started out as static.flickr,com later became, for example (although Flickr, to its credit, never broke URLs).This turned out to be an interesting task: I needed a way of bringing those photos home and updating the HTML to reflect his so that, for example, instead of the HTML above I’d reference a locally-hosted photo, like this: The only thing standing in my way was about a thousand blog posts that, like the one above, had Flickr photos embedded in them. When my yearly Flickr “Pro” invoice for $US49.99 arrived in my email this week I decided that it was time to move on: as Flickr usage has decreased generally, it’s no longer a place to go for community built around photos and I’ve got all the storage and management functionality I need here on the blog to bring things in-house. ![]() I’ve used Flickr as a combination of photo backup and as a way to share photos with others, both through Flickr itself (especially in the early days, when I had an active community of friends and followers there) and here on my blog for many years my standard method for embedding a photo in a blog post was to copy the Flickr embed code into the HTML, like this ( from here): ![]() I first signed up for a Flickr account in May 2004, three months after it launched, and in the intervening 14 years I uploaded 19,932 photos there.
0 Comments
Leave a Reply. |