Тёмный
No video :(

The Best Wordpress Image Optimization Method 

King Grizzly
Подписаться 2 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@joelpogar
@joelpogar Год назад
I rarely comment on videos but this was exceptional. I was experiencing the same frustrating issues and I'm going to try this on my next site. Thanks for posting.
@KingGrizzly
@KingGrizzly Год назад
Joel, I'm very glad to see this and appreciate you taking the time to leave a comment. After some more experimenting, I think it is also possible to remove the "full" sized image from the Elementor controls since Optimole does all the work. I tried this approach on a recent build and got 97 mobile, 100 desktop on Google! I even used Typekit fonts and got away with it. This method has reliably been getting 70s-90s mobile and 90s-100 desktop so far when combined with some thoughtful choices about plugins, SVGs, and design. Let me know how it goes for you!
@marketdesignteam
@marketdesignteam 10 месяцев назад
I was very excited when I saw this video. Looked like an instant fix for mobile issues coming from images. Unfortunately for me in my tests, I was unable to replicate such great results. I did implement the child theme and eliminate all the image sizes however. I found I could implement similar results using my current stack (Shortpixel and WP Rocket) and no great improvement with Optimole. Thanks for the info, it was very helpful in digging deeper into these issues.
@KingGrizzly
@KingGrizzly 10 месяцев назад
Shortpixel Adaptive Images + WP Rocket should yield similar results as it behaves like Optimole (I only discovered this after making the video). However, there is also a delay after configuration before the results are likely to kick in. I've had to visit the site and then wait awhile for the page speed tests to notice the changes. Still, there are many other reasons sites can be slow, maddeningly! Thanks for the comment, and I'm bummed this didn't help your scores more. At least your uploads footprint should be smaller since de-registering the images should work with Shortpixel Adaptive Images as well. Please share any insights you come across as this method isn't perfect.
@seas7931
@seas7931 Год назад
Thank you very much for this and your other videos, great no fuss explanations and very helpful solutions!
@zamilahamed
@zamilahamed Год назад
Amazing tutorial! Big thanks for such video you shared is completely outstanding :)
@KingGrizzly
@KingGrizzly Год назад
Thank you Zamil, please let me know if you try this method and if it works for you as well!
@microbite222
@microbite222 7 месяцев назад
You are creating different sizes with optimole. You are relying on optimole and their cdn. Good idea to say this at the start of the video and also list the limitations of optimole for large qty image websites.
@KingGrizzly
@KingGrizzly 7 месяцев назад
That's a good point, this method is relying on the Optimole CDN. Shortpixel Adaptive Images in the other solution I've found which seems to deliver dynamically sized and formatted images on the fly. These appear to be different than other image optimization plugins which offer CDN delivery, but don't necessarily deliver pixel perfect images on the fly. Definitely at the mercy of the Optimole CDN here, but we've achieved great scores with it and kept our website server footprint small.
@sportschoolherbert
@sportschoolherbert 9 месяцев назад
This is awesome, very clear explanation! As a novice, I do have a question though. After doing this, how can you ensure that it also happens for the photos already present on your website? So that you maintain a clean database?
@KingGrizzly
@KingGrizzly 9 месяцев назад
Watch this, it has the answer! Force Regenerate Thumbnails should clean things up after you configure Optimole. Back up first! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XSLpuofJd4k.html
@sportschoolherbert
@sportschoolherbert 9 месяцев назад
@@KingGrizzly thank you sir 🙏 I will do that!
@Eslam-Sameh
@Eslam-Sameh Год назад
Perfect
@stevemcirvin
@stevemcirvin Год назад
Super helpful! It looks like the only lazy load setting you didn't activate was the native lazy load option. Why didn't you choose that one? Also, have you tried the smart cropping feature? Does that work at all? Thank you so much for making this. It was awesome to learn your favorite plugins for getting such great scores.
@KingGrizzly
@KingGrizzly Год назад
Thank you Steve. Great questions. I don't have a good answer for not trying native lazy load other than many plugins offer me a lazy load option and native lazyload may not be supported on all browsers (or is it?) so I just say "no" to all except Optimole to avoid any conflicts. Perhaps the native option would fall back to Optimole? Not sure, happy for any advice on this! I've never tried smart cropping as I tend to use the object-fit: cover option for most of my images, but that's another feature I haven't really explored and may be misunderstanding or missing out on!
@KingGrizzly
@KingGrizzly Год назад
Optimole mentions: "When using browser native lazyload the auto scale feature is disabled ." I do want auto scale so I'll leave native lazy load off.
@emilo_81
@emilo_81 Год назад
great! I just saw the "Setup Elementor Typography" video and now this... been obligated to subscribe! Question: I think I got it, to a new site... but to apply it in to an old one, should I erase every image and then start all over with this method or is it a better way? Thanks man, your happy new sub from Chile
@KingGrizzly
@KingGrizzly Год назад
Good question Emilo. I'm currently experimenting with a way to clean out all the duplicate files from the uploads folder without causing problems (my first try failed). However, it shouldn't be necessary to do this. Optimole should work and start doing its thing right away and then you can change the media sizes and update your functions file. Finally, you can use WP Rocket or some other optimization plugin if desired. All of the existing image duplicates will still be sitting in your uploads folder, but Optimole creates and delivers optimized images from its server. Just be sure to enable lazy loading for all images so Optimole will add a canonical header crediting your site and not their server for the image. Hope it works!
@emilo_81
@emilo_81 Год назад
​@@KingGrizzly Thanks! That makes total sense.
@4RI3L
@4RI3L Год назад
Awsome!! Im doing this. Can You tell me what FTP client are You using?
@KingGrizzly
@KingGrizzly Год назад
I prefer using Transmit.
@4RI3L
@4RI3L Год назад
@@KingGrizzly it looks super clean. Anyways thanks for the video (i was strugling with this topic for few days).
@KingGrizzly
@KingGrizzly Год назад
@@4RI3L I used to use a couple other FTP clients in the past until I found out they were storing passwords in an unencrypted XML file. Transmit seemed to have better security and has always worked well. I can even drag and drop from site to site. This image method seems to be working well if I lazy load all images. Lately, I've been unloading all image sizes and controls which work fine. However, certain Elementor widgets still show image controls and I'm not sure how to hide them. I also noticed ACF wanted to use an image size for previewing image fields, but it didn't know what to get because I had de-registered those sizes. It still shows an image on the backend, but I'm not sure how it is choosing the size. Anyhow, let me know how this method goes if you try it. I'm loving the clean uploads folders and higher page speed scores.
@tukera
@tukera Год назад
Great video, What is the best approach for the images in woocommerce ?
@KingGrizzly
@KingGrizzly 11 месяцев назад
So sorry, I just noticed this. Optimole can certainly optimize those Woo images. Deregistering their creation will take some extra work. I don't have the file sizes handy, but I think you can find them with a web search and then amend the code. I'd look it up, but don't have time at the moment. Deregistering the controls and all image sizes isn't perfect, but it's helped my sites a ton. If anyone has suggestions for improvements, I'd love to hear them.
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq 11 месяцев назад
hi, does Optimole have the feature of image lazy loading?
@KingGrizzly
@KingGrizzly 11 месяцев назад
Yes, it does. I highly recommend it. They have good support too. If you try it out, I'm happy to suggest settings which work well on our builds.
@scorpio251068
@scorpio251068 Год назад
can you remove the woocommerce img sizes too?
@KingGrizzly
@KingGrizzly Год назад
I've not tried to de-register WooCommerce image sizes, so I'm not sure. This approach is 100% clean. I still notice certain Elementor controls on widgets which try to indicate image sizes or plugins which want to use them. For example, ACF image fields want to pick an image size for previewing custom field images on the backend. I set this to a % width to get around it. However, page speed scores and the uploads folder are WAY better using this approach so I'm still running with it. Besides Optimole, Shortpixel Adaptive Images does well with this approach.
@muhammadaslan6256
@muhammadaslan6256 Год назад
dosen't work with me why ?
@KingGrizzly
@KingGrizzly Год назад
Happy to give some ideas, but you'd need to provide more details about what you are trying.
@muhammadaslan6256
@muhammadaslan6256 Год назад
Maybe iam try it with child theme function file was work this mean the issuse was iam get because iam try added on normal function file from the theme
@KingGrizzly
@KingGrizzly Год назад
@@muhammadaslan6256 I'm using the Hello Theme so I'm not sure what other themes will do in their functions. You might also try the Code Snippets plugin (wordpress.org/plugins/code-snippets/). The free version will let you place PHP snippets using the plugin so you don't have to try to do so in a child theme.
@ThePsychicStylist
@ThePsychicStylist 8 месяцев назад
Was all good till the coding showed up! At least WP won't be nesting all those files! Thanks!
Далее
How to Optimize Images for Faster WordPress Websites
13:55
Oh No! My Doll Fell In The Dirt🤧💩
00:17
Просмотров 11 млн
A Guide to Image Formats & Sizes for Websites
12:12
Просмотров 5 тыс.
6 Top WordPress Cache Plugin Tested and Ranked
1:07:05
Просмотров 31 тыс.
The Best Way to Setup Elementor Typography
7:16
Просмотров 9 тыс.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
Просмотров 11 млн