I changed to CKeditor to day, and need a filter for resizing image. But when I enabled this filter in my content, all of my inserted images disappears.
In HTML elements and attributes:
br,span,em,strong,cite,code,blockquote,ul,ol,li,dl,dt,dd,a,p,span,div,h1,h2,h3,h4,h5,h6,img,hr,br,br /,ul,ol,li,dl,dt,dd,table,caption,tbody,tr,td,em,b,u,i,strong,del,ins,sub,sup,quote,blockquote,pre,address,code,cite,strike

It would be nice if someone could tell me how to fix this


Plazik’s picture

I had a similar problem.
I inserted img[*],scr in HTML elements and attributes and it works fine for me.

Ole Martin’s picture

Thanks, now it works fine.

jh3’s picture

Why does img[*] work, but img[!src|!alt|width|height] does not? Using the former fixes the problem, but this really shouldn't be a problem to being with.

mcdruid’s picture

confirm this issue on 6.x-1.5

seems to be fixed in the current dev version.

mcdruid’s picture

I was wrong - using a setting like:


...does actually work with 6.x-1.5

The reason I got confused is because I'm setting up wysiwyg_filter in an install profile, and this means no parsed version of the settings are stored, and the input filter falls back to using the default valid_elements and therefore strips my images.

When I go in and make any changes in the admin form (e.g. testing out img[*]) the parsed version gets saved, and images appear. They work with the above settings too so long as the admin form has been saved to parse the settings.

I'll open a separate issue about this.

mcdruid’s picture

luthien’s picture

I'm using the same settings and the image was removed after saving the node.

em/i, strong/b, strike, sub, sup,
p[align div[align br,address, em, strong, hr, blockquote, pre, cite, code, span,
table[width|cellpadding|cellspacing|border|summary|align colgroup,col,

luthien’s picture

I applied patch #6 but still not working, the image was removed.

stefan.r’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing 6.x support requests