2 messages in com.googlegroups.google-picasa-data-apiGetting dimensions of an image
FromSent OnAttachments
aro...@gmail.com29 Mar 2007 07:54 
Sven29 Mar 2007 09:28 
Subject:Getting dimensions of an image
From:aro...@gmail.com (aro@gmail.com)
Date:03/29/2007 07:54:52 AM
List:com.googlegroups.google-picasa-data-api

Maybe I'm missing something blatantly obvious, but I can't seem to find a way to get the full dimensions of an image from the API. I can get the dimensions of a thumbnail as they seem to be included in the media:thumbnail section but the media:content section doesn't contain it...

This is what I'm retrieving from the "http://picasaweb.google.com/data/ feed/base/user/.../albumid/...?kind=photo&alt=rss&hl=en_GB" feed:

<media:group> <media:title type='plain'>1.JPG</media:title> <media:description type='plain' /><media:keywords /> <media:content url='http://lh5.google.com/image/.../1.JPG' type='image/jpeg' medium='image' /> <media:thumbnail url='http://lh5.google.com/image/.../1.JPG? imgmax=72' height='54' width='72' /> <media:thumbnail url='http://lh5.google.com/image/.../1.JPG? imgmax=288' height='216' width='288' /> <media:credit>Me</media:credit> </media:group>

The example that's given on "http://code.google.com/apis/picasaweb/ reference.html#media_content": <media:content url="http://lh3.google.com/image/.../MyImage.jpg" fileSize="12216320" type="image/jpeg" medium="image" height="1600" width="1200"><media:content>

Shows a lot more information than I can seem to retrieve.

Am I missing something, not doing something correctly or calling the incorrect feed?

Oh, and this is for a web application

Cheers for the great work and thanks in advance :)