function emimage_picasa_extract in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emimage/providers/picasa.inc \emimage_picasa_extract()
File
- contrib/emimage/providers/picasa.inc, line 96
- This include processes picasa.com image files for use by emfield.module.
Code
function emimage_picasa_extract($embed = '') {
if (preg_match('@picasaweb\\.google\\.com/lh/(.+)@i', $embed, $matches)) {
return 'PICASA_ERROR_USER';
}
return array(
'@picasaweb\\.google\\.com/[^/]+/[^/]+/photo.*?#([^\\&]+)@i',
'@picasaweb\\.google\\.com/[^/]+/[^/\\?]+.*?#([^\\&]+)@i',
);
}