Forum Moderators: open

Message Too Old, No Replies

Image counter won't show up in Opera NN 6.01

         

Macguru

2:06 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One of my clients is using a free PERL counter on his homepage. It will not show up using Opera or NN6.01. There is no size attributes in the code, is there something to fix this?

<img src="cgi-bin/compteur3.pl" align=bottom>

bobriggs

2:19 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Netscape is sometimes picky about the content type - Is the script outputting a content-type header (image/gif or image/jpeg?)

Macguru

2:30 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here is what I dug from the script:

print ("Content-type: image/x-xbitmap\n\n"); #x-xbitmap

I am no pro at PERL, can I change this?

Brett_Tabke

2:39 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



yes, switch "x-xbitmap" to "gif" if it's a gif, or "jpeg" if a jpeg file.

bobriggs

2:48 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



BUT, if it is an xbm (x-xbitmap) - (and you change to gif or jpeg) it will not display anywhere:

See [www-eng.llnl.gov ]

Try the test image on different browsers.

Macguru

2:56 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I changed it and now it does not show up in any browser. :)

I gess it has to be a bitmap image since the script generates the image. I will get him another free counter, as long it does not rely on some other server.

Thanks guys!

<added> Thanks for the link bo!</added>

Brett_Tabke

3:33 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Oh sorry. I thought you meant it WAS a gif and the content type was wrong?

I can't imagine someone putting a windows bitmap file in for a counter!? There are many browsers that won't show a windows bitmap.

Macguru

3:48 pm on Sep 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>I can't imagine someone putting a windows bitmap file in for a counter!?

I guess it is OK for a free script. The conceptor probably picked this one because everyting is written in French (his native language) and was easyer to install for him. I installed him a counter using prebuilt gifs and it works fine. The problem with this new one is that it tics on every reloads.