Icons in blog appearing in wrong dimensions

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
atjs
Posts: 1
Joined: Sun Apr 23, 2006 7:10 pm

Icons in blog appearing in wrong dimensions

Post by atjs »

Hi, I've been using s9y for quite a while, but I thought I'd try to finally resolve a problem I've been having from the very beginning.

My icons (on index page and inside control panel) occasionally appear in the wrong sizes. I've got a screen shot here: http://www.andrewlabs.com/s9y_icon_size_wrong.jpg

Any idea what could be wrong?

Btw, this software really rocks. I've tried many, but in my opinion this is the best! :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Icons in blog appearing in wrong dimensions

Post by garvinhicking »

Hi!

Sadly this is an issue with the Internet Explorer. It is unable to parse transparent PNG images, and thus we created the plugin "browser compatibility" which converts the transparent images to be used by IE.

However, IE is unable to properly display PNG icons the first load when no width/height is given in the HTML source.

So, there are three solutions to the problem:

1. Browse the serendipity code and add width/height to all HTML syntax for <img> elements. This however will put a fixed width on icons for any theme, so different themes could not use smaller/larger icons. Thus, this route is not really good.

2. Remove the browsercompatibility plugin and view the non-transparent PNG images.

3. Use a decent browser like Firefox (or wait for IE7). :-)

Sorry for that hassle :(( But I'm glad to hear you like SErendipity! :)

Best 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/
Post Reply