function emimage_photobucket_image_title in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emimage/providers/photobucket.inc \emimage_photobucket_image_title()
implement emimage_PROVIDER_image_title
Parameters
$code: the code of the image @param $data any stored data for the image, which may already have the title @return the title as the 3rd party provider knows it, if accessible to us. otherwise, ''
1 call to emimage_photobucket_image_title()
- emimage_photobucket_data in contrib/
emimage/ providers/ photobucket.inc
File
- contrib/
emimage/ providers/ photobucket.inc, line 108 - This include processes photobucket.com image files for use by emfield.module.
Code
function emimage_photobucket_image_title($code, $data) {
if ($data['title']) {
return $data['title'];
}
$url = emimage_photobucket_embedded_link($code, $data);
return _emimage_photobucket_scrape_image_title($url);
}