Smush - 延迟加载图像、优化和压缩图像

帮助改进此插件的 简体中文 翻译~ 同时,你可以通过安装 WP-China-Yes 插件,并切换应用市场为“LitePress 应用市场”来接收翻译推送。

优化图像,打开延迟加载,调整大小,压缩和放大 & 改善您的 Google Page Speed! 由 WPMU DEV 的超级团队为您带来的功能强大且 100%免费的 WordPress 图片优化大师!

And whether you spell it ‘optimise’ or ‘optimize’, Smush will compress images without a visible drop in quality.

图像优化是让您的站点加载速度超快的最简单方法!

屡获殊荣的图像优化大师

Smush 已在速度和质量方面进行了基准测试和测试。这也是屡获殊荣,为 WordPress 连续提供了久经考验的人群喜爱的图像优化&图像压缩插件。

  • Super Smush – Optimize images up to 2x more than regular with our multi-pass lossy compression.
  • 无损压缩 – 剥离未使用的数据并压缩图像,而不影响图像质量。
  • 延迟加载 – 轻按开关即可延迟屏幕外图像。
  • Bulk Smush – Optimize & compress images in bulk with one click.
  • Background Optimization (Pro Only) – Smush’s powerful optimization features will continue to run in the background, even when the plugin is closed.
  • 图像大小调整-设置最大宽度和高度,大图像将在压缩时缩小。
  • Incorrect Image Size Detection – Quickly locate images that are slowing down your site.
  • 目录优化 – 优化图像,即使它们不在媒体库中也是如此。
  • 自动优化 – 异步自动优化附件,以便在上传时实现超快速压缩。
  • 无月度限制 – 永久优化多达 5MB 的所有图像(无每日,每月或每年上限)
  • 古腾堡块集成 – 直接在图像块中查看所有 Smush 统计信息。
  • 多站点兼容-提供全局和单个多站点设置。
  • 处理所有文件 – Smush 将处理 PNG,JPEG 和 GIF 文件以获得最佳效果。
  • 超级服务器 – 使用 WPMU DEV 的快速,可靠的 Smush API 可以不降低速度地优化图像。
  • 转换为 WebP (仅限专业版)-升级并自动提供下一代 WebP 格式的图像。
  • Configs – Set your preferred Smush settings, save them as config, and instantly upload to any other site.
  • 还有很多,很多,更多!

通过这些实际操作的 Smush 教程学习诀窍

压缩图像的同时保持图像质量

一些图像压缩工具会破坏图像,质量损失高达 30%。我们的服务器可从您的图像中删除隐藏的大量信息,并在不影响外观的情况下减小文件大小。

Smush 会仔细扫描您上传的或已添加到站点的每张图像,在将其添加到媒体库之前,会为您剪切所有不必要的数据并对其进行缩放。它还可以提供 WebP 格式的图像。

Compress Images While You Sleep With Background Optimization

Have a large number of images to compress? Smush’s powerful optimization features will continue to work their magic in the background, even when you’ve closed the plugin completely. You’ll receive an email when optimization has completed with a full report.

压缩任何目录中的任何图像

除了优化您的媒体上传内容外,您可能还希望压缩存储在其他文件夹中的图像。现在,Smush 允许您压缩任何目录中的任何图像,以便优化站点上的所有图像-包括 NextGEN 图像,使用 WP Offload Media 存储在 Amazon S3 上的图像以及每个 WordPress 插件和主题包中的图像!

与您喜爱的主题、页面生成器和媒体库插件兼容

无论您使用什么主题或插件来更好地管理 WordPress 媒体库,Smush 都能为您服务。看看 Smush 与之配合使用的一些流行产品,这些产品可帮助您更快,更有效地改善您的网站:

尺寸不正确的图像检测

Smush 包含一个错误大小的图像搜索器。激活后,您的图像将被突出显示,并提供缩放图像的智能提示。快速定位到那些让您无法在 Google PageSpeed 测试中获得完美 100 分的图像。

延迟屏幕外图像

Smush 具有内置的延迟加载。如果您的页面上有一堆图像不完整,那么延迟加载将通过仅提供正在查看的图像并延迟其他图像到页面的位置来大大加快页面的速度。

Save time with Smush Configs

Configs allow you to save your preferred Smush configuration settings and apply them to your other sites in a few clicks. You can create unlimited configs.

★★★★★

“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

★★★★★

“我在 Photoshop 中优化了我的照片,但 Smush 让它变得如此简单——它自动地做到了。我可以坐下来享受速度。” – helen432

★★★★★

“ Smush 帮助减少了我网站上的文件总数并提高了浏览速度。做的好各位!” – pdci

★★★★★

“它非常离散,不会让我烦恼 API 密钥或其他附加安装步骤。插件的主仪表板使我获得了很好的洞察力。总体而言,它确实满足了我的需求,并且如果我的需求发生变化,我将愿意升级为 pro 。我会毫不犹豫地推荐给客户 / 朋友。继续使用!”- tarkan_

那多站点呢?

Smush 可用于优化整个网络中的所有图像!使用全局设置或单独配置每个站点。

Smush is super easy to use – no confusing compression software settings. Smush images in your library 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.

你的网站加载得越快,谷歌、必应、雅虎和其他搜索引擎就会越喜欢它。你的网站加载速度会更快,排名也会更高。

自我推销

  • Hummingbird-页面速度优化
  • Hustle-弹出窗口、幻灯片和电子邮件选择加入
  • SmartCrawl-SEO 优化器
  • Defender -安全、监控和黑客保护
  • Forminator – 表单,投票和测验生成器
  • Beehive – 可自定义的 Google Analytics(分析)仪表板

Smush 可以免费满足您所有的图像压缩需求!

However, if you’d like fast CDN image delivery, WebP conversion, automatic resizing, the ability to optimize (or optimise) images up to 32MB, bulk smush optimization for all your images in just one-click, auto-convert PNG to JPEG, the ability to Smush and make a copy of your full-sized images (to restore them at any point), you can always take the next step with WP Smush Pro. And get even more with her whole team of WordPress optimization hero friends (security, SEO, performance, support, and maintenance automation) – trusted by thousands of agencies and freelancers offering site maintenance services.

隐私

Smush 不与您网站上的终端用户互动。Smush 唯一的输入选项是仅对网站管理员的通讯订阅。

Smush 使用第三方电子邮件服务(Mailchimp)向站点管理员发送信息电子邮件(Opt-in)。管理员的电子邮件地址被发送到 Mailchimp 并由服务设置 cookie。Mailchimp 只收集管理员信息。

Smush 将图像发送到 WPMU DEV 服务器以优化它们以供 Web 使用。这包括 EXIF 数据的传输。EXIF 数据将被剥离或按原样返回。它不存储在 WPMU 开发服务器上。

关于我们

WPMU DEV is a premium supplier of quality WordPress plugins, services and support. Learn more here:
https://wpmudev.com/

Don’t forget to stay up to date on everything WordPress from the Internet’s number one resource:
WPMU DEV Blog

Hey, one more thing… we hope you enjoy our free offerings as much as we’ve loved making them for you!

联系和创作者

Originally written by Alex Dunae at Dialect (dialect.ca, e-mail ‘alex’ at ‘dialect dot ca’), 2008-11.

屏幕截图

3.13.2 ( 2023-07-05 )

  • Improvement: Small code and text improvements

3.13.1 ( 2023-06-13 )

  • Improvement: Better memory management during scans
  • Fix: Dot added to file path when year and month directories disabled
  • Fix: Compatibility issue with WP.com
  • Fix: Rename config functionality not working
  • Fix: Compatibility issue with WP Offload Media
  • Fix: PHP warnings
  • Fix: Duplicate query

3.13.0 ( 2023-05-30 )

  • New: Scan for detecting changes in the media library
  • Improvement: Performance improvements on large sites
  • Improvement: Code refactoring
  • Fix: PHP warnings and notices
  • Fix: Missing comments for translation strings that have placeholders in them
  • Fix: Compatibility issues with WP Offload Media
  • Fix: Timeout on Smush pages when there are more than 200k images
  • Fix: Images incorrectly marked as requiring resmush
  • Fix: Ignore link stuck in Grid Layout mode in the media library

3.12.6 ( 2023-03-09 )

  • Enhance: Compatibility with WordPress 6.2.
  • Fix: Upgrade modal reappears after closing

3.12.5 ( 2023-01-18 )

  • Fix: CDN notice issue
  • Fix: PHP 8.2 compatibility warnings
  • Fix: Smush acting as free on staging

3.12.4 ( 2022-11-17 )

  • Improvement: Code and compatibility improvements

3.12.3 ( 2022-10-24 )

  • Fix: Free to pro upgrade issue

3.12.2 ( 2022-10-19 )

  • Improvement: Security hardening
  • Fix: Issues on older PHP versions

3.12.1 ( 2022-10-11 )

  • Fix: PHP error on non-English language sites

3.12.0 ( 2022-10-11 )

  • New: Bulk smush images in the background!
  • New: Revised limits on bulk image optimization
  • New: Better GDPR compliance by replacing Google fonts with Bunny fonts
  • New: Filter on media library page to view media items with errors
  • New: Option to receive an email once bulk smush is complete
  • Fix: Some images incorrectly selected for resmush
  • Fix: Database error while converting PNG to JPG on WordPress 6.1 Beta

3.11.1 ( 2022-08-19 )

  • Fix: Fallback to sequential processing when parallel processing not possible

3.11.0 ( 2022-08-11 )

  • New: Smush all image sizes in parallel for improved performance
  • Improvement: Code improvements

3.10.3 ( 2022-07-14 )

  • Enhance: CDN activation process
  • Enhance: Improve media library image filters
  • Enhance: CDN compatibility with Avada theme
  • Enhance: Add notice about disabled folders in directory Smush module
  • Fix: Errors table UI on bulk smush page
  • Fix: Bulk smush UI when images have been removed when page was already loaded
  • Fix: Cron job of logger library not running properly
  • Fix: Remove tools meta box from dashboard page
  • Fix: Recover image from NextGen Gallery button does not reset Smush data
  • Fix: Image dimensions meta does not reset after restoring a resized image in NextGen Gallery
  • Fix: Incorrect percent of total savings on Dashboard page
  • Fix: Pro feature enable/disable toggles are clickable in free version

3.10.2 ( 2022-06-16 )

  • Enhance: Data processing
  • Enhance: Database calls
  • Fix: Loading images from remote location

3.10.1 ( 2022-06-09 )

  • Fix: PHP error on dash page

3.10.0 ( 2022-06-09 )

  • New: Lossy compression is now free for all users
  • New: Summary meta box
  • Enhance: Move out image restore to bulk smush module
  • Enhance: Move out image resize detection to settings module
  • Enhance: Update opt-in notice design
  • Fix: Upsell notice logic
  • Fix: Skip image sizes not in WordPress format
  • Fix: Skip onboarding wizard if a config has been applied
  • Fix: Image sizes selector
  • Fix: Rename “Basic” config to “Default”
  • Fix: Do not show WebP notice in case of error
  • Fix: Auto compression does not work for NextGen Gallery
  • Fix: Settings link on Plugins page
  • Fix: Welcome modal does not close when we go to the Bulk Smush page

3.9.11 ( 2022-05-23 )

  • Enhance: Code quality
  • Fix: Minor code quality issues
  • Fix: Update internal libraries

3.9.10 ( 2022-05-17 )

  • New: Gravity Forms integration
  • New: smush_background_images_regex and smush_images_from_content_regex filters to adjust regex rules for finding images on the page
  • New: smush_cdn_before_process_background_src filter to adjust background image src
  • New: Add additional parameters to smush_skip_adding_srcset filter to allow disabling auto-resize for selected images
  • Enhance: Compatibility with WPBakery page builder
  • Enhance: Compatibility with Offload Media plugin
  • Enhance: Handling images via REST API endpoints
  • Fix: Directory Smush savings cached and not updated
  • Fix: “What’s new” modal not hiding if white label is enabled
  • Fix: Missing primary key on smush_dir_images table
  • Fix: Scaled images not being resized on resize settings change
  • Fix: Bulk Smush will now show all errors, instead of just the first 5
  • Fix: Animated GIF images not being excluded from bulk Smush
  • Fix: Only allow network wide activation of Smush

3.9.9 ( 2022-05-03 )

  • Enhance: Code quality
  • Enhance: Handling user input
  • Enhance: Update React modules to latest versions
  • Fix: XSS vulnerability when uploading modified configs

3.9.8 ( 2022-03-22 )

  • New: Add expiry header to Nginx template for WebP
  • New: Add wp_smush_webp_dir filter to customize WebP directory
  • Fix: XSS vulnerability
  • Fix: Disable submit button on Integrations page when no integrations available
  • Fix: CDN bandwidth limit status message
  • Fix: Text alignment issue on Bulk Smush page
  • Fix: Highlighting selected lazy load spinner with color accessibility
  • Fix: Compatibility issue with WP Offload Media 2.6.0
  • Fix: Undefined offset notice with certain WooCommerce themes

3.9.7 ( 2022-03-01 )

  • Fix: Local WebP is not activated on applying config after reset settings
  • Fix: Missing WebP file for WP scaled images
  • Fix: Fatal error on PHP 5.6
  • Fix: Compatibility issue with WP Offload Media

3.9.6 ( 2022-02-09 )

  • Enhance: Do not close the Directory Smush modal in case of error
  • Enhance: Tooltips in CDN module
  • Fix: Compatibility issue with PHP 8.1
  • Fix: “Choose Directory” button loading state in case of error
  • Fix: PNG to JPG conversion leaves behind some thumbnails after deleting the image
  • Fix: PNG images that need resizing don’t get converted to JPG
  • Fix: Issue creating the WebP test files
  • Fix: Incorrect unique file names during PNG to JPG conversion
  • Fix: Duplicate thumbnails while converting PNG to JPG
  • Fix: Auto refresh API status when updating to Pro version

3.9.5 ( 2022-01-25 )

  • 修复:翻译字符串
  • ‎修复:删除追加销售
  • ‎增强:更新管理菜单图标

以前版本的变更日志

I just finished running Smush and Google PageSpeed still says my images need compressing and resizing. How do I fix it?

Answer:

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 speedup 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?

Answer:

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.

Does Smush delete or replace my original full-size images?

Answer:

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.

What type of file should I use for my images (GIF, PNG, JPG)?

Answer:

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.

I’m a photographer. Can I keep all my EXIF data?

Answer:

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 in Smush.

I just ran Bulk Smush and some of my images didn’t get compressed. Why would this happen?

Answer:

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 be skipped. To compress images up to 32mb, get Smush Pro.

I activated Smush and I don’t see any difference in image quality. How am I supposed to know if Smush is working?

Answer:

Great question! It is important to understand Smush is an optimization tool that uses lossless image compression to save disk storage space and speed up your site. Smush squeezes data from your image files that will save space, resize huge images, and improve speed 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 WP Checkup or Google PageSpeed Insights. Every little bit of resource savings is important when it comes to page-speed!

Can’t I just use Photoshop or another image editing application to optimize my images?

Answer:

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 as a standalone tool or alongside Photoshop.

My Google PageSpeed test is telling me to serve images in Next-Gen formats. Can Smush do that?

Answer:

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.

Is it optimize or optimise?

Answer:

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.

评价

目前还没有评价

成为第一个“Smush - 延迟加载图像、优化和压缩图像” 的评价者