Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions phpFlickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,11 @@ function buildPhotoURL ($photo, $size = "Medium") {
//receives an array (can use the individual photo data returned
//from an API call) and returns a URL (doesn't mean that the
//file size exists)

$id = $photo['id'];
if (isset($photo['primary'])) // Get Thumb Album
$id = $photo['primary'];

$sizes = array(
"square" => "_s",
"square_75" => "_s",
Expand Down