i have a script inside the includes that changes
[img*] http://linkhere.com[/img*] (btw i have put the * in so it doesnt prodce an image here if thats how their bbcodes work.)
it works like this:
$txt = str_replace("[img*]", "<img border=0 src=", $txt);
$txt = str_replace("[/img*]", ">", $txt);
(again i put the * so no bbcoding uses it if its there.)
however now i want it so that when someone clicks on the image it goes to the location of the image so http://image.com/image.jpg or something like that.
any ideas how to do this and to make it open in a new window.