Forum Moderators: open

Message Too Old, No Replies

Link-buttons not showing - my html is being stripped!

         

CloakingDevice

4:33 pm on May 22, 2004 (gmt 0)

10+ Year Member



Even if this isnt precisely an phpbb-problem I'll give it a shot anyways. I got two computers, both running WinXP with all the trimmings. But in some way my work-box got a bit of a flu or something. It got a problem with links and images..

When the code is supposed to look like this:

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="cattitle"><b>Links</b></span></td>
</tr>
<tr>
<td class="row1" align="center"><a href="http://www.example.com" target="_blank"><img src="images/aa_link.gif" width="88" height="31" alt="A,t" border="0" vspace="3"></a><br>
<a href="http://www.example.com" target="_blank"><img src="images/image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a><br>
<a href="http://www.example.net/" target="_blank"><img src="image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a><br>
<a href="http://example.net/" target="_blank"><img src="image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a><br>
<a href="http://www.example.com" target="_blank"><img src="image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a><br>
<a href="http://example.com/" target="_blank"><img src="image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a><br>
<a href="http://example.com" target="_blank"><img src="image.gif" width="88" height="31" alt="Alt" border="0" vspace="3"></a>
</td>
</tr>
</table>

..it comes out likes this:

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="cattitle"><b>Links</b></span></td>
</tr>
<tr>
<td class="row1" align="center"><a href="http://www.americasarmy.com" target="_blank"></a><br>
<a href="http://www.example.com" target="_blank"></a><br>
<a href="http://www.examnple.net/" target="_blank"></a><br>
<a href="http://example.net/" target="_blank"></a><br>
<a href="http://www.example.com/" target="_blank"></a><br>
<a href="http://example.com/" target="_blank"></a><br>
<a href="http://examnple.com" target="_blank"></a>
</td>
</tr>
</table>

..as you can see, the img-tags are all gone. However, IE shows other images just fine. And they show for sure on my gaming-box, when I check there. and I assume you ppl wont have trouble with it either,<snip>

Anyone got some suggestions?

[edited by: BlobFisk at 6:22 pm (utc) on May 22, 2004]
[edit reason] Please review TOS re: URL posting [/edit]

encyclo

5:04 pm on May 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, CloakingDevice!

width="88" height="31"

Let me take a guess! - you need to turn off ad-blocking in your version of Norton Internet Security installed on the affected machine, and the images will return.

This happens because NIS recognizes the images as ads and blocks them (NIS uses an invisible proxy to filter the HTML). The images are in one of the standard ad formats - 88x31 pixels. Naturally, this blunderbuss approach by NIS has many unintended consequences.

That will solve the problem for you, but not for any of your visitors with NIS installed - you should look at resizing your images so the filter is not triggered. As a short-term fix, you could also alter the sizes in the HTML to 89x31 pixels - you won't see any significant difference, and they should appear correctly.

CloakingDevice

5:32 pm on May 22, 2004 (gmt 0)

10+ Year Member



Ah.. nice one.

Since I allready made the buttons 88x31, it's kinda useless with the width and height.

Sorted it with removing it in the a href.

tedster

7:55 pm on May 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just stumbled over this kind of thing yesterday with a client site on images that were standard ad sizes. Really a PITA, but with Norton so widepsread, it's got to be dealt with.

It's funny that there's so much animosity about AdWare messing with your browser, but so little about software that BLOCKS ads. In both cases the user often does not fully understand what they are installing, although granted that Norton is certainly more straightforward than your garden variety, piggy-backed AdWare.

I turn off pop-ups in Norton but never the banners, partly because I realize that there is an economic necessity involved. As long as I'm not in pop-up land, with who knows how much bandwidth being downloaded, I can tolerate a few ad impressions. The extra KB are minimal and I that way I support the sites that I use economically.

CloakingDevice

8:07 pm on May 22, 2004 (gmt 0)

10+ Year Member



Well to tell you the truth I never thought of NIS, since I'm running the same setup on my other box.

But oh well, all is now well in cloakdev-land =)