Skip to content

Commit ef3d0ad

Browse files
committed
extend buildPhotoURL with all prefixes available
1 parent 6a6a805 commit ef3d0ad

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

phpFlickr.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,21 @@ function buildPhotoURL ($photo, $size = "Medium") {
361361
//file size exists)
362362
$sizes = array(
363363
"square" => "_s",
364+
"square_75" => "_s",
365+
"square_150" => "_q",
364366
"thumbnail" => "_t",
365367
"small" => "_m",
368+
"small_240" => "_m",
369+
"small_320" => "_n",
366370
"medium" => "",
371+
"medium_500" => "",
367372
"medium_640" => "_z",
373+
"medium_800" => "_c",
368374
"large" => "_b",
369-
"original" => "_o"
375+
"large_1024" => "_b",
376+
"large_1600" => "_h",
377+
"large_2048" => "_k",
378+
"original" => "_o",
370379
);
371380

372381
$size = strtolower($size);

0 commit comments

Comments
 (0)