Embedded Pictures from Picasa disappear and reappear

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Embedded Pictures from Picasa disappear and reappear

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Embedded Pictures from Picasa disappear and reappear

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Embedded Pictures from Picasa disappear and reappear

Post 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.
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Embedded Pictures from Picasa disappear and reappear

Post 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?
Post Reply