And your images are no more than 800 pixels in any dimension? (That's
the largest size that Picasa will display.)

On Apr 4, 10:07 am, Yoav <[email protected]> wrote:
> Hi,
>
> Im having exactly the same problem.
>
> Im trying to show a full image and i get a 404 error.
> Im showing an <img> element and setting the src to the image's url.  I
> created a test.html locally on my computer running IIS.
> If i access the html page through the urlhttp://localhost/test.html,
> i get the 404 error. if i just dbl click on the html file to open in
> the browser i see the image.
>
> I tried using the imagemax parameter but that didnt help. I changed
> the referrer option in firefox and now i dont get the 404 anymore but
> somehow the img tag is not showing.
> if i look at the html using firebug, it shows the img element as
> hidden although theres nothing to make it hidden, how is that
> happening?
>
> Is this some kind of block from Picasa? Is there a way to workaround
> it or does Google simply not allowing to show the full image???
>
> Thanks,
> Yoav
>
> On Apr 2, 11:35 pm, Jeff Fisher <[email protected]> wrote:
>
> > Weird. Does it work if you add the query parameter imgmax=800 ?
>
> > Also does it work if you put the images as the src of an <img> tag instead
> > of linking directly to them?
>
> > Cheers,
> > -Jeff
>
> > On Thu, Apr 2, 2009 at 12:54 AM, Nick63 <[email protected]> wrote:
>
> > > Thanks! My images are all about 700 pixels square.
>
> > > I've written some quick & dirty test code to illustrate the problem.
> > > The code runs flawlessly from my desktop computer, but once it's run
> > > from a server, the identical image URLs return a 404 error from the
> > > Google server. You can try out the test program here:
>
> > >http://www.pulppublishing.com/chessdesign/new/tester.html
>
> > > It'll present a list of images in an album as links. Click on one and
> > > the image will open in a new window/tab. For me, they all open with
> > > 404 messages. If you put your cursor in browser's URL field and hit
> > > return, however, the image will load.
>
> > > Code below. Sorry if the jquery stuff confuses matters. Any thoughts/
> > > troubleshooting ideas greatly appreciated. I have this feeling I
> > > missed something really basic...
>
> > > Thanks,
> > > Nick
>
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml";>
> > > <head>
> > > <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
> > > <script type="text/
> > > javascript">
>
> > > var theImageMenu = "";
>
> > > $(document).ready(function() {
> > >        $.ajaxSetup({cache: true});
> > > $.getJSON('http://picasaweb.google.com/data/feed/base/user/
> > > chessdesignweb/albumid/5317287298722835905?
> > > alt=json&kind=photo&authkey=Gv1sRgCJys4Y3V3bSClgE&hl=en_US<http://picasaweb.google.com/data/feed/base/user/%0Achessdesignweb/alb...>
> > > ',
> > > 'callback=?', MakeImageMenu);
> > >        });
>
> > > function MakeImageMenu(theFeed) {
> > >        var len = theFeed.feed.entry.length;
> > >        for (var i = 0; i < len; i++) {
> > >                theImageMenu = theImageMenu + "<a 
> > > href='"+theFeed.feed.entry
> > > [i].content.src+"' target=_blank>"+theFeed.feed.entry[i].title.$t+"</
> > > a><br />";
> > >                }
> > >        $("#theNav").html(theImageMenu);
> > > }
>
> > > function loadImage(theImagePath)
> > > {
> > >        document.mainImage.src = theImagePath;
> > > }
>
> > > </script>
>
> > > </head>
> > > <body>
>
> > > <div id="theNav"></div>
> > > <div id="thePicture">
> > > <img name="mainImage"/>
> > > </div>
> > > </body>
> > > </html>
--~--~---------~--~----~------------~-------~--~----~
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