Ooops.

It seems "medium" means medium, as is media-m.   Which can be "photo"
or "video".

Not medium as size.

Right?

Can you show me how I would get the thumbnail info using this model?
thumbContent = [GDataUtilities firstObjectFromArray:mediaContents
                                              withValue:@"image"
                                             forKeyPath:@"small"];

Thanks...

On Feb 3, 1:56 pm, Jonathan Beck <[email protected]> wrote:
> Is there a doc somewhere that shows what
>
> withValue
> forKeyPath
>
> data is inside a GDataPhotoEntry?
>
> I am doing this successfully :
>
>                 // get and load the regular sized image, note: @"medium"
>                 imageContent = [GDataUtilities 
> firstObjectFromArray:mediaContents
>                                               withValue:@"image"
>                                              forKeyPath:@"medium"];
>
> But this crashes with an objc_exception_throw
>
>                 // get and load the thumbnail sized image, note: @"small"
>                 thumbContent = [GDataUtilities 
> firstObjectFromArray:mediaContents
>                                               withValue:@"image"
>                                              forKeyPath:@"thumbnail"];
>
> Note the only difference is forKeyPath: @"thumbnail"
>
> I also tried this :
>
>                 // get and load the thumbnail sized image, note: @"small"
>                 thumbContent = [GDataUtilities 
> firstObjectFromArray:mediaContents
>                                               withValue:@"image"
>                                              forKeyPath:@"small"];
>
> Thanks!
>
> Jonathan

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