function flickr_one_size_bigger in Flickr 7
Return the Flickr photo suffix that corresponds to the one that is one step bigger than the one that is passed in the parameter. Avoided are sizes that do not exist on all images ('n' and 'c').
Parameters
string $size: The image size suffix to return the bigger one for.
1 call to flickr_one_size_bigger()
- theme_flickr_photo in ./
flickr.module - Theme Flickr photo.
File
- ./
flickr.inc, line 1744 - The Flickr API functions.
Code
function flickr_one_size_bigger($size) {
$in = array(
'h',
'b',
'c',
'z',
'-',
'n',
'm',
'q',
't',
's',
);
$out = array(
'k',
'h',
'b',
'b',
'z',
'z',
'-',
'm',
'm',
'q',
);
return str_replace($in, $out, $size);
}