MyBB Community Forums
IMG tag messup - Printable Version

+- MyBB Community Forums (
+-- Forum: Community Archive (
+--- Forum: Archived Forums (
+---- Forum: Archived Development and Support (
+----- Forum: MyBB 1.2 Series (
+------ Forum: MyBB 1.2 General Support (
+------ 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][/img] possibly some text
[ img][/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 "[/img] possibly some text
[ img]" as link), so the image(s) won't show up.

You can fix it by placing some extra code in between, like this:
[ img][/img][ b][/b]
[ img][/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

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

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

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