Recent Topics

1 Oct 09, 2006 08:04    

I am getting an error message. It's a long link that has an Amazon Affiliate code leading to a product I'm discussing.

Message: Tag img may not have attribute style

What is the key to adding a link of this nature to a blog post?

Thanks.

Barry

3 Oct 09, 2006 09:24

What is the Amazon link? Visiting your blog doesn't help.

4 Oct 09, 2006 14:15

Hi John,

I tried posting it but it said the message was 'spammy' and that I was being reported.

Let me try again without the opening tags and see if it works. I'll break it up into a few lines but it's all one link.

<a href=

"http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FSony-RDR-VX530-Recorder-Combo-Player%2Fdp%2FB000FMPGLQ%2Fsr%3D1-4%2Fqid%3D1160395857%3Fie%3DUTF8%26s%3Delectronics&tag=musictogether-20&linkCode=ur2&camp=1789&creative=9325">Get it from Amazon</a>

<img src="http://www.assoc-amazon.com/e/ir?t=musictogether-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

Thanks.
Barry

5 Oct 09, 2006 15:03

Yes, it won't even allow the URL let alone the image
You can link the image ok just be removing the

 style="border:none !important; margin:0px !important;

I think you will have to go into /blogs/conf/ _formatting.php and change

$use_html_checker = 1;


to

$use_html_checker = 0;

Make your post with the URL, then if it works, post it and then go back to _formatting.php and change it back to = 1;

See how that goes.

6 Oct 09, 2006 16:53

Thank you so much... that worked.

How important is it to set the $use_html_checker back to '1'? I'd like to post more links like that and wouldn't mind not taking that step each time.

Thanks.

7 Oct 09, 2006 17:02

Well, it's explained in the _formatting.php script.
Validation is important but so is security...
If your the only author/poster you should be fine.

I wouldn't leave it at "0" if you don't have to but thats just me.


Form is loading...