MyBB Community Forums
IMG tag messup - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html)
+------ Forum: MyBB 1.2 General Support (https://community.mybb.com/forum-4.html)
+------ Thread: IMG tag messup (/thread-9616.html)



IMG tag messup - Yako - 2006-06-10

The bbcode parser doesn't work properly.

If you place 2 images after eachother like this:
[ img]http://stuff.com/image.png[/img] possibly some text
[ img]http://stuff.com/image2.png[/img]

It parses it as 1 image, taking the first img and the last /img tag as one image. Therefore the link is incorrect (because it takes "http://stuff.com/image.png[/img] possibly some text
[ img]http://stuff.com/image2.png" as link), so the image(s) won't show up.

You can fix it by placing some extra code in between, like this:
[ img]http://stuff.com/image.png[/img][ b][/b]
[ img]http://stuff.com/image2.png[/img]


I think the bbcode parser misses a quantifier minimizer in it's regex?




RE: IMG tag messup - squall_leonhart69r - 2006-06-10

[Image: squall_cartoon.gif] possibly some text
[Image: squall_sig1.gif]

working fine here as you can see


RE: IMG tag messup - DCoder - 2006-06-10

http://community.mybboard.net/showthread.php?tid=8242


RE: [B] IMG tag messup - Yako - 2006-06-10

I'm using 1.1.2, and it still happens...

[Image: postbit_email.gif][Image: postbit_email.gif]

Hmm this one works... must be something wrong with my installation.


RE: IMG tag messup - zaher1988 - 2006-06-13

could you give us a link pls


RE: IMG tag messup - Yako - 2006-06-13

http://gmshowcase.dk/forums/


RE: IMG tag messup - zaher1988 - 2006-06-13

Working fine for me, , i have tested it on your board.