Issue Type: Bug Created: 2009-08-18T03:55:22.000+0000 Last Updated: 2009-08-19T01:18:48.000+0000 Status: Closed Fix version(s): Reporter: Valery Konstantinov (valerykonstantinov) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata
Related issues: Attachments:
Here is a piece of code to get the url of uploaded image:
$insertedEntry = $gp->insertPhotoEntry($photoEntry, $albumQuery->getQueryUrl()); $mediaContentArray = $insertedEntry->getMediaGroup()->getContent(); $contentUrl = $mediaContentArray->getUrl();
The real path of image is "http://lh3.ggpht.com/_SWzO8sEpZ4Q/SoqCMDfMYjI/AAAAAAAAAI4/c7lyBQuxz4U/s640/Test.jpg" But the $contentUrl is "http://lh3.ggpht.com/_SWzO8sEpZ4Q/SoqCMDfMYjI/AAAAAAAAAI4/c7lyBQuxz4U/Test.jpg"
Seems like these urls have been changed some time ago, because earlier I got real urls with my script.
Posted by Trevor Johns (tjohns) on 2009-08-18T15:16:32.000+0000
It looks like the only difference between the URLs is the s640, which specifies the size of the image to return.
If you set the imgmax query parameter to "640", I believe it should modify the URL to include this.
See the documentation on the imgmax query parameter here:
Posted by Valery Konstantinov (valerykonstantinov) on 2009-08-19T01:18:46.000+0000
Thanks for your help, Trevor.
Have you found an issue?
See the Overview section for more details.