Thank you Michael!
It works;)

On Mar 4, 12:33 pm, Michael Erickson <[email protected]> wrote:
> Unfortunately, there is no way to go from the image URL to the required
> information. But you have a few options, depending on what you have
> available to you in chrome extension land (I've only dabbled a bit,
> myself).
> 1. Parse the page url if you are actually on picasaweb.google.com. That
> won't help you otherwise, so probably not a good plan.
> 2. Request the download version of the image URL. That image URL has a set
> structure, as follows:
>   https?://[server]/[4 groups of hash codes]/[image options]/[filename]
>
> The [image options] are optional, as in the example you provided below. You
> can insert those options (or replace existing) with either /d/ or /s1600/.
> Both of these will have exif data, IIRC. /d/ will set the
> content-disposition to download.  If you are capable of loading either of
> these in the extension, you should be able to pull the exif off the image
> without using the API.
>
> The example below, as 
> download:http://lh3.ggpht.com/-tWOc0sSfh3E/R04fFhmijhI/AAAAAAAAAGo/7Hx4amKeAcI...
>
> The example below, as large with (limited) 
> exif:http://lh3.ggpht.com/-tWOc0sSfh3E/R04fFhmijhI/AAAAAAAAAGo/7Hx4amKeAcI...
>
> Good luck.
> -MErickson
>
> On Sat, Mar 3, 2012 at 7:17 PM, Andrey Vyrvich <[email protected]>wrote:
>
>
>
>
>
>
>
> > Hi guys, I need your advise
> > I'm developer of quite famous Chrome EXIF Viewer (https://
> > chrome.google.com/webstore/detail/lplmljfembbkocngnlkkdgabpnfokmnl)
> > Unfortunately photos hosted on picasaweb have not contain EXIF data,
> > therefore I have to use Picasa Albums API but the problem is that I do
> > not know neither photoId not albumId;
>
> > For example
> > The URL that I have:
> >http://lh3.ggpht.com/-tWOc0sSfh3E/R04fFhmijhI/AAAAAAAAAGo/7Hx4amKeAcI...
> > but the feed url should be:
>
> >http://picasaweb.google.com/data/entry/api/user/gdata.ops.demo/albumi...
>
> > The question is how to convert image URL into the feed URL?
>
> > --
> > 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.

-- 
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.

Reply via email to