I am trying to output the actual URL to the high resolution image of a photoentry. A photo entry Zend_Gdata_Photos_PhotoEntry
of the Gdata contains the data of photo stored in Picasa.
Currently, I found to methods to output URLs to images. The first is to output thumb images, they seem to be available in three different sizes. The second method is by getContent()
. I expected that this method should get me the highest resolution URL. Instead, it contains one image url which is still smaller than the original in Picasa.
$thumb = $entry->getMediaGroup()->getThumbnail();
$content = $entry->getMediaGroup()->getContent();
echo "<img src='" . $content[0]->getUrl() . "' />";
echo "<img src='" . $thumb[1]->getUrl() . "' />";