Hmm that's strange that it would refuse to serve a 350x264 image. The
reason you can't embed the full-sized (bigger than 800px) image is
mostly to prevent people from using Picasa Web Albums as a host for
tons of high resolution images without any attribution back to the
product. Let's just say there are certain not-work-safe sites that
would love to abuse the service in this way. :)

Cheers,
-Jeff

On Sep 6, 10:23 am, matheus <[EMAIL PROTECTED]> wrote:
> I had the same problem as alohanema.
>
> I have an image here (lower than 
> 800px):http://lh3.ggpht.com/mathrm/SMHOlZ2UkAI/AAAAAAAAAFw/J1C4VHVw5ao/IMG19...
>
> At first, I couldn't see it on it's original size.
>
> Then I looked at FAQ's page,http://code.google.com/apis/picasaweb/faq.html
> on the [Why can't I embed the full-sized image into my webpage?]
> question...so I tried adding the param [imgmax=800] to the URL.
>
> And it works.
>
> Actually, I dont know why, but now it works even when I don't pass the
> imgmax=800.
> Since I cleared my cache and even used other browser, don't think it's
> the browser cache...maybe it's Google's cache!?
>
> Anyway, from now on I will always use [?imgmax=800] to embed images on
> it's max size.
>
> Hope it helps someone else.
>
> Regards,
> Matheus Martins
>
> On 4 ago, 23:03, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
> wrote:
>
> > Try changing your GetFeed into a GetEntry.
>
> > Cheers,
> > -Jeff
>
> > On Aug 4, 5:38 pm, bingocatch <[EMAIL PROTECTED]> wrote:
>
> > > Jeff, could you tell me how I can set imgmax=800 in python?  I tried
> > > the following:
> > > entry = gd_client.GetFeed('/data/entry/api/user/[EMAIL PROTECTED]/
> > > albumid/5230571901258942721/photoid/5230767908572362002?imgmax=800')
> > > output.write('<img src="%s"/>' % entry.content.src)
>
> > > but I got the following error message:
> > >     output.write('<img src="%s"/>' % entry.content.src)
> > > AttributeError: 'NoneType' object has no attribute 'content'
>
> > > On Aug 4, 4:37 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Hi,
>
> > > > That sounds very weird. Are you retrieving the feed with imgmax=800 ?
>
> > > > Cheers,
> > > > -Jeff
>
> > > > On Aug 4, 3:51 pm, bingocatch <[EMAIL PROTECTED]> wrote:
>
> > > > > THanks for the update Jeff, but I am still puzzled, here is my HTML:
>
> > > > > <html>
> > > > > <head/>
> > > > > <body>
> > > > > <img src="http://lh5.ggpht.com/bingocatch/SJdrsvT39RI/AAAAAAAAAEA/
> > > > > Fwr0b2HjxpU/photo.jpg"/>
> > > > > <h1>It works!</h1>
> > > > > </body>
> > > > > </html>
>
> > > > > When I host this file in apache or google app engine, and view it
> > > > > through IE or firefox, it comes up with a broken image.  When I copy
> > > > > and paste it to the browser, I get one of the following 3 outcomes:
> > > > > 1. a google file not found page, if I reload, it shows up the image
> > > > > 2. an image shows up
> > > > > 3. browser asks me to download the file
>
> > > > > THose 3 outcomes are so random, I can't figure out what can possibly
> > > > > result in that.
>
> > > > > The strange thing is that if I use the thumbnail url instead, it works
> > > > > 100% of the time.  That is, I can embed it ino the IMG field of the
> > > > > HTML and the picture shows up  with no broken image.
> > > > > Here is my thumbnail url I got from 
> > > > > entry.media.thumbnail[0].url:http://lh5.ggpht.com/bingocatch/SJdrsvT39RI/AAAAAAAAAEA/Fwr0b2HjxpU/s...
>
> > > > > Any help would be greatly appreciated.
>
> > > > > On Aug 4, 2:20 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
> > > > > wrote:
>
> > > > > > Hi,
>
> > > > > > The file you linked I am able to view directly in the browser 
> > > > > > (Firefox
> > > > > > and Safari), and it looks like the content-disposition is set to
> > > > > > inline rather than attachment, like you would expect:
>
> > > > > > Content-Disposition: inline;filename=photo.jpg
>
> > > > > > Also I tried embedding it in a local page and that displayed fine 
> > > > > > too.
>
> > > > > > Cheers,
> > > > > > -Jeff
>
> > > > > > On Aug 4, 1:55 pm, bingocatch <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi Jeff, I have exactly the same problem that alohanema is
> > > > > > > experiencing.  Here is my 
> > > > > > > entry.media.src:http://lh5.ggpht.com/bingocatch/SJdrsvT39RI/AAAAAAAAAEA/Fwr0b2HjxpU/p...
>
> > > > > > > It is definitely less than800px, but it can't display through the
> > > > > > > html IMG tag.  When I paste it onto the browser, the browser asks 
> > > > > > > me
> > > > > > > to download the jpg file instead.  Any help would be greatly
> > > > > > > appreciated. Thanks.
>
> > > > > > > On Jul 31, 12:49 pm, "Jeff Fisher" <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > I get a "No album found." message. Is the authkey correct?
>
> > > > > > > > Cheers,
> > > > > > > > -Jeff
>
> > > > > > > > On Wed, Jul 30, 2008 at 10:15 PM, alohanema <[EMAIL PROTECTED]> 
> > > > > > > > wrote:
>
> > > > > > > > >http://picasaweb.google.com/data/feed/base/user/alohanema/albumid/522...
>
> > > > > > > > > On Jul 30, 10:49 pm, "Jeff Fisher (Google)" <[EMAIL 
> > > > > > > > > PROTECTED]>
> > > > > > > > > wrote:
> > > > > > > > > > Hi,
>
> > > > > > > > > > Can you provide a URL to the album feed you are pulling 
> > > > > > > > > > down from the
> > > > > > > > > > API with the links that aren't working?
>
> > > > > > > > > > Cheers,
> > > > > > > > > > -Jeff
>
> > > > > > > > > > On Jul 30, 8:06 am, alohanema <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > > I am surely those images are less than800px.
>
> > > > > > > > > > > On Jul 30, 7:13 am, "Jeff Fisher (Google)" <[EMAIL 
> > > > > > > > > > > PROTECTED]>
> > > > > > > > > > > wrote:
>
> > > > > > > > > > > > Hi,
>
> > > > > > > > > > > > This is because images larger than 800pixels cannot be 
> > > > > > > > > > > > embedded
> > > > > > > > > > > > directly. You can use the imgmax parameter to limit the 
> > > > > > > > > > > > size of the
> > > > > > > > > > > > image linked to in <media:content>. For example, 
> > > > > > > > > > > > imgmax=800 will
> > > > > > > > > > > > ensure the image is no larger than 800 pixels.
>
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > > -Jeff
>
> > > > > > > > > > > > On Jul 28, 9:32 pm, alohanema <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > > > > I use c# and picasaweb data api create an album and 
> > > > > > > > > > > > > then upload
> > > > > > > > > images
> > > > > > > > > > > > > to that new album. But when I get these image links 
> > > > > > > > > > > > > and use them
> > > > > > > > > for a
> > > > > > > > > > > > > webpage, there's no one show image. And when I 
> > > > > > > > > > > > > manually paste an
> > > > > > > > > image
> > > > > > > > > > > > > link to my browser, the browser doesn't show image, 
> > > > > > > > > > > > > but it tell me
> > > > > > > > > to
> > > > > > > > > > > > > download.
>
> > > > > > > > > > > > > I don't know why? May you help me.- Hide quoted text -
>
> > > > > > > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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