Does plugin automatically resize images
-
Hello
I installed plugin on a test site to see it work. But I noticed its not automatically resizing the images. If I do it manually, it will resize the images.
How long do I have to wait for plugin to start/resize images?
This is a fresh install of WP as I am doing some testing.
Thank you for your help, very much appreciated
-
Imsanity will resize all new uploads once it is installed.
For existing images, you must use the bulk tool on the settings page.
Does that make sense/answer your question?First, thanks for the super fast reply. (Amazing)
Yes that does make sense. And sorry for not being clear.
I installed this plugin on a fresh site, then created a post.
OK now thinking about this. If I create the post manually and add the image to post, yes I see it works.
I have a plugin that is auto-creating posts VIA RSS feeds. And for some reason it’s not resizing the image. Manually I can, but not when the plugin auto creates the post. Internesting
So I will assume this is beyond your scope.
Is there a cron that can run your bulk process?
If the RSS plugin doesn’t fire the ‘wp_handle_upload’ filter, then Imsanity won’t be auto-triggered.
I would recommend that you file a request with the RSS plugin devs to see if they will run that filter to allow other plugins to do normal processing for uploaded images.
Otherwise, we don’t have any built-in cron tasks available (or WP-CLI either). I took a look back through the codebase, and there isn’t really a great way to write your own function either. The imsanity_resize_image() function would almost work, but it dies at the end, which would make it pretty much impossible to run in a batch as-is.Awesome thank you for the suggestion. I will contact them.
Also, if that doesn’t work out, I should mention that our EWWW Image Optimizer plugin has the same resizing capability, and has a WP-CLI interface: https://docs.ewww.io/article/25-optimizing-with-wp-cli
EWWW IO also has a fall-back hook that lets it catch more images than Imsanity, so you probably wouldn’t need to use WP-CLI at all.I haven’t been able to install that plugin.
After I click activate I get an error about missing file or something.
Been happening for a long time to be honest.
I will get the error in a bit to show you.
That’s a core WordPress error, don’t know that I’ve ever seen it before. The only thing I can think to check is making sure there isn’t already and ewww-image-optimizer/ folder in your plugins folder. Also make sure there is no ewww/ folder under wp-content/ just to be safe.
Otherwise, maybe your webhost can help clarify why the plugin installation isn’t working.OK after some digging I found that I need exec() (which I could enable in cPanel)
The others I could not as I needed the host to enable for me,,
“EWWW Image Optimizer uses jpegtran, optipng, pngout, pngquant, gifsicle, and cwebp. You are missing: jpegtran, optipng, gifsicle. Please install via the Settings Page or the Installation Instructions.”So I moved my testing to another server and got EWWW installed without any issues.
Tested EWWW, and it’s not resizing images either. So I tried a bunch of other plugins, and they are not working either.
So I can only assume they do not have the “‘wp_handle_upload’ filter,” option either.
What I am trying to accomplish here is this…
I have cyberseo plugin pulling in posts, and grabbing the first image in the article to use as the thumbnail/feature image.
Now when you have this running, WP creates numerous different sizes of the same image. This eventually takes up a lot of space for nothing.
So I found this plugin “Stop Generating Image Sizes” that stops creating all the un-needed images.
So now, I just have the one image. The original image.
Then i need to resize that image to a smaller size since its only for the thumbnail and delete the original.
So far imsanity is the only plugin that does all this.
The only thing it’s not doing, is doing this automatically.I posted in CyberSEO WP support (https://wordpress.org/support/topic/imsanity-not-able-to-resize-images-from-rss-posts-created-by-cyber-seo/)
So far no reply yet.
Once again, thanks for all your help and speedy replies.
With EWWW IO, make sure you have the “resize existing images” option checked, otherwise the bulk optimizer won’t touch the existing uploads. Anything EWWW IO does during a bulk optimize is not dependent on wp_handle_upload, as it’s going through the Media Library directly to look for images.
Let’s take the EWWW IO discussion off the Imsanity forum so we can do more debugging: https://ewww.io/contact-us/I should note, that if you have Imsanity active at the same time as EWWW IO, then EWWW IO won’t do ANY resizing at all.
-
This reply was modified 6 years ago by
nosilver4u.
Ah that did it. “Resize Existing Images”
This awesome, it’s working now.thank you very much.
Is there a limit on the number of images that get converted per month?
Nope, the free version is completely without limits on the number of images or filesize of those images. The only paid features are our premium compression and the Easy IO service. Everything else is completely free.
That’s awesome.
My only issue now is that the current host I use disables ” jpegtran, optipng, pngout, pngquant, gifsicle, and cwebp”So I will have to move the sites needed to my own VPS.
Thanks again for all you help with this.
What host are you using? There are a lot of hosts that don’t disable such things: https://docs.ewww.io/article/43-supported-web-hosts (probably plenty more that aren’t even on the list).
I just started hosting with Kinsta but they won’t let me use your “free” version as it increases server load; they will only me use your cloud version, which I guess means there isn’t a “free” option for me, and all other Kinsta users, right?
I would like to use your plugin and the service, but it also means I end up paying for your CDN, which I don’t need to use, since KeyCDN is already part of my Kinsta package.
Do you have an EasyIO option with the CDN?
Terence.
-
This reply was modified 5 years, 11 months ago by
Terence Milbourn.
-
This reply was modified 6 years ago by
The topic ‘Does plugin automatically resize images’ is closed to new replies.