Jump to content

Resize image


The Little Guy

Recommended Posts

I have a wysiwyg editor that I made, I have it so I can insert an image, but is it possible to have it where I can resize the image using handles on the image?

Yes, it is possible. I don't have any code for this. I would guess there is some available on the web, but could not find any with some initial searches. I could probably build a solution, but that is way more time than I am willing to invest. Trying to do it in an existing WYSIWYG editor makes the implementation more difficult since you would need to create the controls within the editor itself, but you would also need hidden fields to save the user set sizes. The user would only be resizing the displayed size, not the actual size of the image. So, along with the upload of the image you would have to pass the "displayed" sizes that the user set so you can use server-side code to actuall resize the physical image.

 

I'd suggest looking for a different editor.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.