Flickr changes image URLs with some glitches

Old URL:

New URL:

Just this week I started getting problems with Flickr images that were embedded in my own sites. I got a “red cross” instead of a picture. When I checked the image URLs that I was using and the ones that Flickr currently uses, I saw they had changed, and the transition was not flawless (at that point).

Where each image used to reside on one of the servers, they now have the URL… (with the same server id XX). Apparently in some cases, the image URLs were not automatically redirected to the new address, which caused the crosses. Some Flickr users were complaining about the same problem on the Flickr forums.

While I am writing this, more and more URLs start working again, i.e. there is an automatic redirection to the correct URL. But basically this 1 month old explanation of the Flickr image URLs has to be updated:

http://photos{server-id}{id}_{secret}_[mstb].jpg becomes{server-id}/{id}_{secret}_[mstb].jpg

In the early days of Flickr, the images were stored on separate servers: photos1 was, photos2 was, …, situated in Vancouver, BC (Canada): probably adding 1 storage server at a time while the gigabytes were pouring in. After the move to Yahoo (Sunnyvale, CA) in July of this year, all photoXX DNS names were changed to point to the same IP address – or

Today, instead of maintaining the 33 DNS entries, they opted for working with 1 domain name and let the load balancing/cache distribution ( shows there is a “X-Cache = HIT” HTTP header that is a caching directive) decide from which server the image should be grabbed. You can actually get an idea by this little hack:

A total of 8 storage servers, I’m guessing.


💬 internet