when loading an image with bueditor, l 'image remains the same.

should not become smaller?

thanks

Comments

quicksketch’s picture

The Image Resize Filter is completely editor independent. BUeditor just adds buttons to insert HTML correct? You just need to set height and width properties on the image, then it will be resized on output. Without a height and width, Image Resize Filter doesn't know how small to make the image.

sanluca’s picture

you can force the size of image?

quicksketch’s picture

You set the height and width properties. This is how Image Resize Filter knows what size to make the image.

Will not resize:

<img src="example.jpg" />

Will resize to 100x200 pixels (even if image is larger):

<img src="example.jpg" width="100" height="200" />

By default BUeditor does not insert height or width because it doesn't know the size of the images.

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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