Permalink
Browse files

extend buildPhotoURL with all prefixes available

  • Loading branch information...
mistic100 committed Jun 27, 2014
1 parent 6a6a805 commit ef3d0ad00b5cb67e79dc4420e9ed2d902fd67d3b
Showing with 10 additions and 1 deletion.
  1. +10 −1 phpFlickr.php
View
@@ -361,12 +361,21 @@ function buildPhotoURL ($photo, $size = "Medium") {
//file size exists)
$sizes = array(
"square" => "_s",
"square_75" => "_s",
"square_150" => "_q",
"thumbnail" => "_t",
"small" => "_m",
"small_240" => "_m",
"small_320" => "_n",
"medium" => "",
"medium_500" => "",
"medium_640" => "_z",
"medium_800" => "_c",
"large" => "_b",
"original" => "_o"
"large_1024" => "_b",
"large_1600" => "_h",
"large_2048" => "_k",
"original" => "_o",
);
$size = strtolower($size);

0 comments on commit ef3d0ad

Please sign in to comment.