Page 1 of 1

Embedded Pictures from Picasa disappear and reappear

Posted: Tue Apr 21, 2009 11:41 pm
by onli
In at least two of my blogentries embedded pictures from picasa disappear and reappear from time to time. I noticed this at these two entries: one, two.

This not only occurs to me but also to visitors.

Both images are embedded via the img-tag picasa provides and an added class, but I removed the a tag which made the picture clickable, resulting in only this small piece of code:

Code: Select all

<img src="http://lh6.ggpht.com/_oj4mgYeUYX4/SeiDfD-9UuI/AAAAAAAAArE/qrWe4eUTB7A/twitter.png" class="lefticon" alt=""  />
If the pictures are not shown, firebug greys them out in the sourcecode, but is able to fetch them on hover.

The CSS I'm aware of that plays into these elements:

Code: Select all

img {
    border: 0;
}
/*shouldn't play a role, but it's the only interesting piece of code*/
.serendipity_entry a > img {
    border: 2px solid;
}
img.lefticon {
    float: left;
    margin-right: 10px;
}
Does Picasa maybe needs the img-tags to be embedded in an a-tag? Or the css is invalid, resulting in strange behavior of Firefox?Or Serendipitys caching-mechanism doesn't work perfect.

Maybe anyone solved the same problem before?
sincerely

Re: Embedded Pictures from Picasa disappear and reappear

Posted: Wed Apr 22, 2009 10:13 am
by garvinhicking
Hi!

Does firebug in the "NET" tab give you a statement, if it failed to fetch the remote file? To me this looks as if the picasa img server sometimes simply doesn't respond?

Regards,
Garvin

Re: Embedded Pictures from Picasa disappear and reappear

Posted: Wed Apr 22, 2009 1:08 pm
by onli
Hi Garvin
Picasa isn't totally offline in these moments - as I use picasa for all of my images I'd notice that. Thought displaying the image in the hover-tooltip is enough to make sure Picasa itself works fine. But I'll have a look at the Net-Tab as soon as I notice the issue again. At the moment, all of the pictures are visible.

Re: Embedded Pictures from Picasa disappear and reappear

Posted: Wed Apr 22, 2009 6:56 pm
by onli
The hint to the net-tab was excellent. As soon as it got activated, the "hidden" picture reappeared. It seems like the a-tag is necessary to sent the needed GET to Picasa.

Is there a way to achieve the same effect without an a-tag?