开发者 |
WPMUDEV
alexdunae |
---|---|
更新时间 | 2025年2月10日 21:05 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
“I had no idea that my page load time was being dragged down by the images. The plugin nearly halved the time it took.” - karlcw ★★★★★ “I optimise my photos in Photoshop, but Smush makes it so easy - it does it automatically. I can just sit back and enjoy the speed.” - helen432 ★★★★★ “Smush helped reduce the total files size on my site and increased browsing speed. Well done guys!” - pdci ★★★★★ “It’s very discrete and does not bother me with an API key or other additional installation steps. The main dashboard of the plugin gives me nice insight. Overall it really fits my needs and I’ll be willing to upgrade to pro if my needs change. I’d recommend it to clients/friends without hesitation. Keep it up!” - tarkan_What about Multisite? Smush can be used to optimize all images across your entire network! Use global settings, or configure each site individually. Smush is super easy to use - no confusing image compression software settings. Smush lets you optimize all images in your library either one at a time, or all together. Plus, configure auto-smush to asynchronously scale and compress some or all of your images as they are being uploaded - it's incredibly fast. The faster your site loads, the more Google, Bing, Yahoo, and other search engines will like it. Your site will load faster and rank higher. Shameless Plug(ins)
This means your images were not properly scaled for where they are being displayed. Scaling images before uploading them can be time-consuming, but can save space and speed up load time. First, determine what size your image needs to be. You can use the built-in images size detector included in the free version of Smush to find what height and width your image should be. Once you know how large the image should be, scale your images to the right size. = PageSpeed Insights is telling me to defer offscreen images. Can Smush fix that? Lazy Load will defer your offscreen images from loading until they are needed. From the Smush Dashboard, select Lazy Load and click Activate. Smush Lazy Load works out of the box or can be customized based on your needs. Tip: If you're having any issues or want to save a ton of time, the Smush Pro CDN includes auto-resizing of images.
Nope. WordPress crops and resizes every image you upload for embedding on your site. By default, Smush only compresses these cropped and resized images, not your original full-size images. To compress your original full-sized images, use Smush Pro.
GIF files are large and can’t be optimized much. They should only be used if the image is animated. PNG is best for computer generated graphics (vectors, logos, fonts, etc.), images with few colors, or images with transparency. JPG should be used for photography or images with a lot of color variation. Tip: The Smush Pro CDN includes WebP compression - sharper images that are 25 to 30 percent smaller than JPEG and PNG files.
Yes! EXIF data stores camera settings, focal length, date, time, and location information in image files. EXIF data makes image files larger, but if you are a photographer you may want to preserve this information. We have included the option to preserve EXIF image data with Smush.
First, check to see if you're receiving any server errors. If your images seem to be processing correctly, check the file size of the images being skipped. Images over 5mb will not be processed by the free version of Smush. To compress images up to 256mb, get Smush Pro.
Great question! It is important to understand Smush is an image optimization tool that uses lossless image compression to save disk storage space and speed up your site. Smush squeezes data out from your image files that will save space, resize huge images, and improve speed - all without changing quality. You can track file size changes in your media library, individual image savings, directory savings, and Smush total savings with Smush stats. If you want to see some additional magic, run before-and-after page-speed tests with Google PageSpeed Insights. Every little bit of resource savings is important when it comes to page-speed!
Optimizing all the image sizes generated by WordPress, images being imported from plugins and themes, and images from other web sites is a painful and time-consuming process. Smush automatically handles optimizing all your images no matter where they come from, and can be used either as a standalone tool or alongside Photoshop.
WebP and other Next-Gen formats are not supported on all browsers and require fallback images. For that reason, WebP conversion is only available in Smush Pro. Smush Pro converts images to WebP for a 25-30% savings over JPEG and PNG, and serves fallback images on unsupported browsers.
It depends what side of the pond you live on... but whether you say optimize, optimise, optimizer, or Smush goddess of speed, this plugin will make sure your images are loading lightning fast.
We take plugin security incredibly seriously; if you have a bug or vulnerability to report, you can do so through the Patchstack Vulnerability Disclosure Program. It’s fast, easy, and you will be notified when the issue is fixed. Report a vulnerability.
smush_background_images_regex
and smush_images_from_content_regex
filters to adjust regex rules for finding images on the pagesmush_cdn_before_process_background_src
filter to adjust background image srcsmush_skip_adding_srcset
filter to allow disabling auto-resize for selected imageswp_smush_webp_dir
filter to customize WebP directory