The documentation does not say much on how to use it...

I have an application that shows customers their picasa albums. I need
the customer to be able to transfer images from Picasa to his account
in our application. I am able to do so. However the images that get
transferred are not the original size images and instead are the
scaled down ones.

I know that picasa API does not show the fullsize image in URL and
that we can only show until 1600px. The documentation also states that
we can use "d" with" imgmax" parameter to get the original image. But
I am not able to get it.

I am using PHP Zend GData for accessing the API.

I tried setting the ImgMax value as:

$query = new Zend_Gdata_Photos_UserQuery();
$query->setUser($user);
$query->setImgMax("d");

I also tried setting the imgmax parameter in the URL

$fullsize = $entry->getMediaGroup()->getContent();
$file = (string)$fullsize[0]->getUrl()."?imgmax=d";

If i replace "d" with all the other values mentioned in the API
documentation I get the correct images, for e.g if i set "d" to 200 I
get 200px scaled imaged transferred. i just cannot get the fullsize
file handle to transfer!! :(

Any help is REALLY appreciated!!!

On Apr 29, 11:15 pm, Detlev Schwabe <dschw...@google.com> wrote:
> Check the documentation 
> athttp://code.google.com/apis/picasaweb/docs/2.0/reference.html#Parameters
> Especially the section underneath the table i.e. add "imgmax=d" to your
> requests.
>
>
>
>
>
> On Thu, Apr 29, 2010 at 10:35 AM, Sergey <preved.se...@gmail.com> wrote:
> > I have studied example GooglePhotosSample, there is shown how to
> > receive the list of albums,
> > how to receive the list of thumbnails of photos in the selected album,
> > but there it is not shown,
> > how to receive the original of the selected photo... How can I do it?
>
> > --
> > 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
> > google-picasa-data-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-picasa-data-api+unsubscr...@googlegroups.com<google-picasa-data-api% 
> > 2bunsubscr...@googlegroups.com>
> > .
> > 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 google-picasa-data-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-picasa-data-api+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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 google-picasa-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to