Forum Moderators: open
I got everything except for the thumbnail. Documents says that it is in the gm:thumbnail but I don't know how to use it using PHP. I got the attribute Image_link and tried to cycle to it but I'm not successful.
Here are some parts of the code I used:
Zend_Loader::loadClass('Zend_Gdata_Gbase');
Zend_Loader::loadClass('Zend_Gdata_Query');$service = new Zend_Gdata_Gbase();
$query = $service->newSnippetQuery();
$query->setParam('bq', "$search_item");
$query->setParam('max-results', 5);
// $query->setParam('category','Products');
$query->setParam('content','thumbnails');
$imglink = $entry->getGbaseAttribute("image_link");
foreach($imglink as $imgt) {
echo "<img src=$imgt/> - $imgt <br>";
}
it shows everything except for the details of the thumbnails.
Any suggestion how can I get this thing done ? I've been reading documents (about Metadata, Zend Gdata, etc.) for a couple days and can't see how I can access the gm:thumbnail details using PHP.
Thanks in advance.