angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

[Feature Request] Allow resizing images

Open unsafecode opened this issue 6 years ago • 10 comments

Is there a way we can allow users to resize uploaded images?

unsafecode avatar Mar 14 '19 14:03 unsafecode

This will be very nice to have. I think that dont exists any angular editor that make resize possible.

mateuspmello avatar May 15 '19 14:05 mateuspmello

Hi! What do you mean by resize? Crop images, or change x,y dimensions on the editor canvas?

kolkov avatar May 15 '19 21:05 kolkov

Mainly changing the size, so it won't be saved as it was originally uploaded, and will have the same shape the use edited (think of a large image I just want to include in a smaller version). Cropping&co would be a nice-to-have, but not required IMHO.

unsafecode avatar May 16 '19 08:05 unsafecode

Is nice to have the possibilite to visually resize image. The user just click on image and are able to resize. Captura de tela de 2019-05-20 21-23-30

mateuspmello avatar May 21 '19 00:05 mateuspmello

This could be attained probably pretty easily by changing the quill resize module to work for this.

jdgamble555 avatar Apr 22 '20 06:04 jdgamble555

when will image resize feature available ? thank you!

drchembio avatar Apr 15 '21 17:04 drchembio

This could be attained probably pretty easily by changing the quill resize module to work for this.

Are you able to achieve it? at least we can use the CSS selector to stop growing the image outside of the editor.

.angular-editor-wrapper img {
    max-width: 90%;
}

Anil8753 avatar Aug 28 '21 12:08 Anil8753

Hi @kolkov,

this feature was planned for version 1.0.0, but it seems it never made the cut. Are there any plans on implementing this ?

Fourie-r avatar Dec 22 '22 08:12 Fourie-r

Thanks a lot to all who discussed the solution here, with this I resolved my image upload problem, It will be really a game changer if image resizing is available here.

Finally I resolved my error with this code res.send({"status":true, imageUrl:profile})

ashutoshk043 avatar Sep 10 '23 20:09 ashutoshk043

I've made a project based on this one that has the resize image feature. Its still on development though, but it would be nice to get some people to use it:

https://github.com/wfpena/angular-wysiwyg

wfpena avatar Dec 25 '23 16:12 wfpena