Flickr Image Source URLs for Different Sizes

This section provides a tutorial example on constructing image source URLs for a Flickr photo with different sizes: Small square, Thumbnail size, Medium size, Large size, etc.

If you interested in other sizes of the same Flickr photo, you can add a size suffix to the URL like this:

http://farm{farm-id}.static.flickr.com/{server-id}/{id}_{secret}_[mstzb].jpg

Each suffix letter represents a different photo size:

Let's use the same photo, "Sunset at Grande-Rivière", as an example to make several image source URLs of different sizes:

 <photo id="20678745065" owner="21692577@N02" secret="d12cdeb62f" 
  server="5811" farm="6" title="Sunset at Grande-Rivière" 
  ispublic="1" isfriend="0" isfamily="0" />

1. The small square size of 75x75 pixels, http://farm7.static.flickr.com/6016/5987985960_ab1c292008_s.jpg:

Flickr Photo: Old Faithful, Small square
Flickr Photo: Old Faithful, Small square

2. The thumbnail size with 100 pixels on the longest side, http://farm7.static.flickr.com/6016/5987985960_ab1c292008_t.jpg:

Flickr Photo: Old Faithful, Thumbnail size
Flickr Photo: Old Faithful, Thumbnail square

3. The medium size with 240 pixels on the longest side, http://farm7.static.flickr.com/6016/5987985960_ab1c292008_m.jpg:

Flickr Photo: Old Faithful, Medium size
Flickr Photo: Old Faithful, Medium square

3. The orginal size, http://farm7.static.flickr.com/6016/5987985960_ab1c292008.jpg:

Flickr Photo: Old Faithful, Original size
Flickr Photo: Old Faithful, Original square

Last update: 2015.

Table of Contents

 About This Book

 SoapUI - Web Service Testing Tool

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 getTime - Get the Current Time

 GetSunSetRiseTime - Get Sunrise and Sunset Time

 GetWeatherByZipCode - Get Weather by ZIP Code in US

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 questionSearch - Search Yahoo! Questions and Answers

flickr.interestingness.getList - Get Interesting Photos

 flickr.interestingness.getList - Usage Description

 flickr.interestingness.getList - HTTP Request Sample

 flickr.interestingness.getList - Response Message Sample

 flickr.interestingness.getList - Response in JSON Format

 Constructing Image Source URL on Flickr

Flickr Image Source URLs for Different Sizes

 Hotwire - Get Travel Ticker Deals

 Outdated Tutorials

 References

 PDF Printing Version