/*
* Used for albums or specific images
* Check if it is Picasa or Facebook category or image
* If we ask only on image, the second parameter will be empty and will be ignnored
* If we ask album, first check Picasa album, second check Facebook album
*/
public static function isExtImage($extid, $extfbcatid = '')
{
// EXTID (IMAGES): Picasa - yes, Facebook - yes
// EXTID (ALBUMS): Picasa - yes, Facebook - no
if (isset($extid) && $extid != '') {
return true;
}
// EXTFBCATID (IMAGES): Picasa - no, Facebook - no
// EXTFBCATID (ALBUMS): Picasa - no, Facebook - yes
if (isset($extfbcatid) && $extfbcatid != '') {
return true;
}
return false;
}