Serendipity-Buch

Handbuch für Serendipity bestellen

Das offizielle, umfassende Serendipity-Handbuch für Einsteiger und Profis ist nun im Handel und kann online bei Amazon oder OpenSourcePress, oder auch bei jedem Buchhändler, bestellt werden!

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index General discussions Embedded Pictures from Picasa disappear and reappear

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
User avatar
onli
Regular
 
Posts: 482
Joined: Tue Sep 09, 2008 10:04 pm

Postby onli » Tue Apr 21, 2009 11:41 pm

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

User avatar
garvinhicking
Core Developer
 
Posts: 26675
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Apr 22, 2009 10:13 am

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/

User avatar
onli
Regular
 
Posts: 482
Joined: Tue Sep 09, 2008 10:04 pm

Postby onli » Wed Apr 22, 2009 1:08 pm

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.

User avatar
onli
Regular
 
Posts: 482
Joined: Tue Sep 09, 2008 10:04 pm

Postby onli » Wed Apr 22, 2009 6:56 pm

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?



Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest