There's really no way to predict the URL for an image. For instance, here is the URL to one of my Picasa photos:
http://lh5.ggpht.com/_g_TQ3qaWtNo/Sq_sydnw0AI/AAAAAAAAJWE/HUtLyEEuoao/s800/Ghostbusters%20Fire%20Station.jpg And here's the URL to the very next photo: http://lh6.ggpht.com/_g_TQ3qaWtNo/Sq_syye_zBI/AAAAAAAAJWI/6yQf4aH8o-c/s800/Flat%20Iron%20Building.jpg Good luck predicting the seemingly random sequences of numbers and letters. If you want a lighter solution to Zend, you can try my Lightweight PHP Picasa API. It's a smaller download and it runs faster. It doesn't use curl, though. You can download it at http://www.cameronhinkle.com/blog/id/3696159074811309536 Hope that helps. Cameron On Mon, Oct 12, 2009 at 4:05 PM, Yaniv Golan <[email protected]> wrote: > > hi > I'm writing a PHP mockup application that present photos posted to > social networks from different web services > i just need to get the URL to an image (or large enouth thumbnail) > based on it's id (extracted from the URL fragment) > this is fairly easy with other services (usually a simple HTTP call) > what would be the most simple way to achieve this with picasaweb? > i really don't feel like installing zend framework and use all this > heavy zend GDATA library for this, actually I'd like to be able to do > it using Curl because this is the only way i can multi-thread in PHP > there must be a simple way to this, after all this service is from > google right? :) > > > > -- See me Twitter! http://www.twitter.com/CletusTSJY http://www.cameronhinkle.com/ "As systems developers, we have selected ourselves into the world of cool, calming, rational thought. Either our code compiles, or it doesn't. The compiler is never happy for us, nor mad at us. Perhaps this is why we tend to apply logic as our main device for resolving disputes." -Peopleware, 2nd Edition "Babies...before we're done here...y'all be wearing gold-plated diapers." -Rock Legend Bruce Dickinson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en -~----------~----~----~----~------~----~------~--~---
