I have created a new input format with bbcode and image resize filter. Bbcode filter is set to run before image resize filter.

When using [img=200x100] bbcode tag image is scaled, but not resized. If I add same image using html img tag, both images are now resized correctly. I think this has something to do with #371864: Make the Filter Work Regardless of Order and post #7.

With 6.x-1.0 version it works great!

CommentFileSizeAuthor
#1 image_resize_filter_order.patch3.04 KBquicksketch

Comments

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new3.04 KB

Well, seems that trying to make the filter work regardless of order was a bad idea. I'd much rather have Image Resize Filter work properly than to skip an installation step. I've updated the Readme and changed the code back to the approach used in 1.0.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

z33k3r’s picture

Status: Closed (fixed) » Active

For some reason I am not getting this to work in my Drupal forums. I have it arranged after my BBCode filter and after HTML filter, HTML corrector, Lightbox filter, Word filter, Video Filter and ending with Image resize filter.

Text in the forums is being formated like such: [IMG]http://domain.tld/path-to-image.jpg[/IMG]

Any help would be greatly appreciated.

quicksketch’s picture

Category: bug » support

That sounds like BBCode isn't working at all. Check to make sure your tags are correct and that it's filtering properly without Image Resize Filter, otherwise I'd suggest filing an issue with BBCode.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of response.