Flickr Image Suffix – Flickr API 的 圖像大少變數

最近開始研究 Flickr API..
常常忘記他們大小的變數
如果把變數設定錯誤便會出現以下的情況..
This image or video is currently unavailable
Flickr - This image or video is currently unavailable

所以便記下來方便自己了

  • s – small square 75×75
  • q – large square 150×150
  • t – thumbnail, 100 on longest side
  • m – small, 240 on longest side
  • n – small, 320 on longest side
  •   – medium, 500 on longest side
  • z – medium 640, 640 on longest side
  • c – medium 800, 800 on longest side†
  • b – large, 1024 on longest side*
  • o – original image, either a jpg, gif or png, depending on source format

詳情可以參考以下的網頁
https://www.flickr.com/services/api/misc.urls.html

Hope you find it useful

Leave a Reply