Closed (fixed)
Project:
Bbcode
Version:
6.x-1.2
Component:
BBCode Tags
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2010 at 00:30 UTC
Updated:
20 Jul 2010 at 13:27 UTC
I'm finding that [img] tags are successfully being converted to html, but when sizing is added - [img height=200 width=200] - it not being converted, it's just passed through like regular text.
I have filters in this order:
URL Filter
Line break converter
BBCode
html correct
WYSIWYG filter
Any idea why those image tags aren't converting?
Thanks
Comments
Comment #1
Benj commentedComment #2
StudioARE commentedThat code is incorrect.
Use
[img=600x500]http://example.com/image.jpg[/img]In short:
Use: [img=600x500]
Don't use: [img height=600 width=500]
Just take a look at the filter tips on your site "/filter/tips"
Comment #3
Benj commentedIndeed, it's not correct. I moved a few thousand posts from a Simple Machines Forum setup, and I guess the editor in there was using the bad syntax. I made a new filter to fix it though, one that changes all the height=300 width=300 to =300x300. Thanks