The Little Guy Posted September 24, 2010 Share Posted September 24, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/214263-resize-image/ Share on other sites More sharing options...
Psycho Posted September 24, 2010 Share Posted September 24, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/214263-resize-image/#findComment-1115135 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.