Topic Title: [img] tag problem

Forum Index » phpBB2 / Gallery 2 Integration » [img] tag problem
Topic URL: http://www.nukedgallery.net/postt3692.html

AuthorMessage
Post Title: [img] tag problem
Veidit
Joined: Jan 08, 2007
Posts: 1

Posted: Mon Sep 03, 2007 11:21 am
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...

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group