GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing www.flickr.com — Flickr Services
Photo Image URLsYou can construct the source URL to a photo once you know its ID, server ID, and secret as returned by many API methods. The URL takes the following format: #
# Typical usage
#
https://live.staticflickr.com/{server-id}/{id}_{secret}_{size-suffix}.jpg
#
# Unique URL format for 500px size
#
https://live.staticflickr.com/{server-id}/{id}_{secret}.jpg
#
# Originals might have a different file format extension
#
https://live.staticflickr.com/{server-id}/{id}_{o-secret}_o.{o-format}
#
# Example
# server-id: 7372
# photo-id: 12502775644
# secret: acfd415fa7
# size: w
#
https://live.staticflickr.com/7372/12502775644_acfd415fa7_w.jpg
Size SuffixesThe various sizes offered on Flickr have the following letter suffixes:
SecretsAll photo image URLs use a secret value that's provided by API methods. All sizes below the H (1600) size use one shared secret. All sizes above and including the H (1600) size each use a unique secret for just themselves. The original size, regardless of dimensions, always uses its own secret. A few more notes on originalsThe original size behaves a little differently than the other sizes. They have their own secret (called Additionally, since original files are the exact file uploaded to Flickr they may have extra EXIF, XMP, etc. metadata embedded within them. This might include rotation data which may result in the image displaying in an unexpected orientation. Metadata can also include sensitive info like geographic details. With these details in mind it is important to only expose access to original files when you know it's safe and required. Image dimensionsA particular size will exist for one of three reasons:
Legacy URLsIn the past Flickr has supported several different styles for image URLs. These continue to work but are considered deprecated. Please update to the style detailed in this document. Web Page URLsURLs to photo and profile pages use either the user's NSID (the number with the '@' sign in it) or their custom URL (if they've chosen one). You can find their custom URL with a call to flickr.people.getInfo. The NSID version of the URL will always work, regardless of whether they've set up a 'pretty' URL, so you can avoid the API call by simply using the the user ID returned by most photo API calls. You can then easily build URLs to profiles, photostreams, individual photos, or albums: https://www.flickr.com/people/{user-id}/ - profile
https://www.flickr.com/photos/{user-id}/ - photostream
https://www.flickr.com/photos/{user-id}/{photo-id} - individual photo
https://www.flickr.com/photos/{user-id}/albums/ - all albums
https://www.flickr.com/photos/{user-id}/albums/{album-id} - single album
Other URLs can be constructed similarly. Directing a user to Exampleshttps://www.flickr.com/photos/12037949754@N01/ https://www.flickr.com/photos/12037949754@N01/155761353/ https://www.flickr.com/photos/12037949754@N01/albums/ https://www.flickr.com/photos/12037949754@N01/albums/72157594162136485/ Short URLsFlickr provides a URL shortening service for uploaded photos (and videos). Short URLs can be useful in a variety of contexts including: email, on business cards, IM, text messages, or short status updates. Every photo on Flickr has a mathematically calculated short URL of the form: https://flic.kr/p/{base58-photo-id}
Base58 is used to compress the photo-ids using a mix of letters and numbers. You can find more info on base58, and code samples in the Flickr API Group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |