mindmup / bootstrap-wysiwyg

Tiny bootstrap-compatible WISWYG rich text editor
MIT License
5.56k stars 841 forks source link

Set smaller size of imported image file in the DIV #162

Open wfillis opened 10 years ago

wfillis commented 10 years ago

Hi, I am a newbie to jquery and javascript so am having trouble figuring out how to set the size of imported image files to be smaller than the original size of the image.

The reason I need this is that I am developing a blog-type web page and want to allow a user to insert an image or photo. But most photos have a large footprint, resulting in people having to scroll around the DIV container to view the image.

I would like to change the viewable size of the photo (for example using CSS) to be almost thumbnail size, so it can be visible alongside the text and without having to scroll.... I'm not needing compression (though that would be handy).

Thanks.

lipten commented 10 years ago

Sorry, the bootstrap-wysiwyg just a lightweight editor, there is no change in image size function, it is not suitable as a blog-based website editor