Users using my forum and inserting a img tag vid the g2img button get's a correct url: Code: › [img]http://buffyforum.se/gallery2.php?g2_view=core.DownloadItem&g2_itemId=831[/img]
But the image dosn't load, could it be this from bbcode.php:
Code: › // [img]image_url_here[/img] code..
$text = preg_replace("#\[img\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(jpg|j
peg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') .
'[/img:$uid]'", $text);
Defining .php seems bad...