nosilver4u
Forum Replies Created
-
Forum: Plugins
In reply to: [Image Regenerate & Select Crop] double thumb generation?Looks good, no double regen anymore!
Forum: Plugins
In reply to: [LiteSpeed Cache] LSC deleting .webp images it did not createHmm, that does appear to solve the conflict as the IR&SC plugin appears to be running at a priority higher (later) than 0.
However, I don’t know it’s a great idea, as we’ve run image optimization at a priority higher than 10 for a long time due to other plugins running at the default of 10 and doing various image manipulation things–not that I can remember what those were anymore 🙂
Also, it doesn’t address my concern that LSC shouldn’t be messing with .webp images when it isn’t even doing any image optimization to an image. Specifically, why does $img_optm->has_optm_record() return true for an image that LSC didn’t alter?
To be fair, EWWW IO blindly removes .webp images also, BUT generally only when deleting an image entirely. Whereas this is a hook that runs for every single image upload, and it seems a bit odd to delete the .webp files at this stage unless LSC can confirm that it did indeed create those .webp images. Just my two cents anyway!
Forum: Plugins
In reply to: [LiteSpeed Cache] LSC deleting .webp images it did not createOh yes, of course! I was going to write that out and forgot…
To my knowledge, this is all that is required:
- Install Litespeed Cache plugin, disable all Image Optimization settings.
- Install Image Regenerate & Select Crop plugin. Defaults should be fine there.
- Install EWWW IO, enable WebP conversion. Use version 8.5.0, since the next release will include a change related to IR&SC.
- Add this to your wp-config.php:
define( ‘EWWW_DISABLE_ASYNC’, true ); - Upload an image via Media->Add New (can probably do it anywhere).
- Go to the Media Library, put it in List mode. You should see in the Image Optimizer column that there is a WebP size listed that links to the full-size .webp version->
- Click that link, and it should be broken.
Likewise, one can watch via ftp or file manager and refresh during the upload to see .webp images created, and then removed at the end of the upload process.
And yes, EWWW IO does normally name the files the same way as Litespeed. EWWW IO does have the option to replace the extension, but the default is to append .webp.
I noticed in Admin::wp_generate_attachment_metadata() it uses $img_optm->has_optm_record() to see if LSC has optimized the image before running $img_optm->reset_row(). In this case, there shouldn’t be any records, but somehow it still evaluates to true and runs the reset_row() method, as I verified by enabling debugging in LSC:
05/06/26 00:29:17.414 [x.x.x.x:56120 1 rkj] 👮 Image replaced, resetting optimization data [pid] 262
05/06/26 00:29:17.414 [x.x.x.x:56120 1 rkj] 🗜️ _reset_row [pid] 262
05/06/26 00:29:17.415 [x.x.x.x:56120 1 rkj] 🗜️ deleting 2026/05/photo-1465152251391-e94453ee3f5a.jpg
05/06/26 00:29:17.415 [x.x.x.x:56120 1 rkj] 📺 deleted /home/xyz/public_html/wp-content/uploads/2026/05/photo-1465152251391-e94453ee3f5a.jpg.webp
and so on...Forum: Plugins
In reply to: [Username Changer] bogus data collection?Thanks for the clarification, and for the prompt response.
I don’t remember 100% now that I dismissed the prompt, but it seems the name/email were enabled by default, so it might help to have that turned off, but with an explanation about how they might be useful/needed.
Forum: Plugins
In reply to: [Admin Color Schemes] needs update for 7.0Great, glad to hear it! And that was “Using the latest beta…”, my fingers have not been following instructions very well lately 🙂
Forum: Themes and Templates
In reply to: [OceanWP] x.com icon doesn’t seem to work?Ah, I didn’t realize Elementor was still on v5, that makes sense. I was curious if they had a way to disable the FA bits altogether, and I didn’t find anything like that. However, I found that if I enable their “inline icons” feature, then everything works just fine (as does your solution).
It’d be great though if OceanWP had a feature like that. We inline our icons on another site and it works really well to minimize the bloat from FA. It’d be even better for this site, as there’s just a handful of icons across two different font sets, and 450kb of font files loaded just for that.
Thanks for the help!
- This reply was modified 2 months, 1 week ago by nosilver4u.
Forum: Plugins
In reply to: [Apocalypse Meow] can’t search by subnetAnd it worked, thanks!
Forum: Reviews
In reply to: [EWWW Image Optimizer] Great and SimpleGlad to hear EWWW IO could help you with your speed issues, that’s what we’re here for!
Technically not the oldest as Smush was around first, but it was pretty broken when I first built EWWW IO 🙂
You’re very welcome, love to see how folks are using FRT. Glad you were able to cleanup all your old thumbs, they can certainly get messy with all the sizes generated by WP, themes, and even plugins 🙂
Especially happy to see it working well on a largish library like that, as we improved support for large sites quite a bit over the last year!
Forum: Reviews
In reply to: [Force Regenerate Thumbnails] Solve the problem!Glad to hear it, thanks for your feedback!
Forum: Plugins
In reply to: [Force Regenerate Thumbnails] medium_large – 768 x 0Hi, the image will not be created with zero width. Rather, 768 x 0 means that the width will always be 768, and the height will not be limited. The medium_large version will always be 768 wide, and the height will be scaled according to the original dimensions.
This is in contrast to something like the medium size, where if you have an image that is 900 px wide and 1200 high, the medium version will be 225×300. There are a variety of plugins that will let you disable any of the registered thumbnails (EWWW Image Optimizer is one of them), and there are tutorials online for doing it yourself. However, I wouldn’t recommend disabling that one, as it is meant to fill in the gap between the medium and large sizes when your images are responsive (with srcset markup).
Forum: Plugins
In reply to: [Apocalypse Meow] plugin preventing update checks?Well, I don’t know if WPE will actually get this “fixed”, but they did add the ability to change which mirror(s) we are using. We can either use wp.org with the anonymize option enabled, or use the WPE mirror with no anonymize. Not thrilled with that, but it’s better than nothing.
#1 would make sense to me, though it’s not really what this plugin is for. FRT intentionally removes all thumbs, in case the existing ones are incorrect, or you changed the quality, or anything else. But still, not a bad idea, so we’ll look into it further. I would note, that last I checked, even if we don’t delete existing thumbs, WP still regenerates all the registered sizes, so implementation is a little more complicated than just “don’t delete registered thumbs”.
#2 is already what FRT is supposed to do. As I said before, it deletes all thumbs prior to generating new ones.
#3 already exists in WP-CLI, and I’m not certain what it would benefit for FRT to add our own WP-CLI extension. We’ve already made it so that FRT is resumable and pretty fault-tolerant, though I’m sure there’s some way it can break, whether it’s having 50 registered sizes or a really low PHP timeout, or anything along those lines.
Forum: Plugins
In reply to: [Apocalypse Meow] plugin preventing update checks?I chatted with WPE about the feature and what it does (in the core_anonymize_user_agent method). They’re looking into it, so I’ll let you know what happens.
Forum: Plugins
In reply to: [Apocalypse Meow] plugin preventing update checks?Aha, that’s the ticket! Interestingly, I have that option enabled pretty much everywhere except for one site. That was really throwing me for a loop as to how all my WPE sites were affected except for one!
I rather like that feature, given recent events, so I hate to lose it. If you like, I can check with WPE to see if they can work around it?
- This reply was modified 10 months, 3 weeks ago by nosilver4u.