When we copy an image from our site to the WordPress editor, it saves to the Media library as the original size even if we change the dimensions in the Advanced image editor (it just sets width and height in the img tag). We’re trying to figure out how to save the image to the Media library at the actual size it’s pasted into the editor. Ripping hair out!
Right now we have to save the image to our computer, edit it in MS Paint (Windows 7), resize by pixels, then upload it again through the editor. This can be too complicated for the average WordPress user, so there must be an easier way. I could find no options or plugins to do this yet.
Can anyone recommend a plugin we could use that doesn’t over-complicate the editor?
I read that WordPress actually has a class (WP_Image_Editor) that I can run functions to resize with PHP GD or Imagemagick, but I’m not sure how to plug it into the editor. It would be really great to just have this option in the image editor or on the Visual editor bar!
Here’s the class I’m talking about:
- The topic ‘How to save resized images to Media library through the Page/Posts editor?’ is closed to new replies.