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

描述

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

无论您将其拼写为“优化(optimise 英)”还是“优化(optimize 美)”,Smush都会压缩图像而不会出现质量下降的情况。

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

屡获殊荣的图像优化大师

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

  • 无损压缩 – 剥离未使用的数据并压缩图像,而不影响图像质量。
  • 延迟加载 – 轻按开关即可延迟屏幕外图像。
  • 批量优化 – 只需单击即可优化和压缩多达50幅图像。
  • 图像大小调整-设置最大宽度和高度,大图像将在压缩时缩小。
  • 尺寸不正确的图像检测 – 快速找到正在拖慢您网站速度的图像。
  • 目录优化 – 优化图像,即使它们不在媒体库中也是如此。
  • 自动优化 – 异步自动优化附件,以便在上传时实现超快速压缩。
  • 无月度限制 – 永久优化多达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格式的图像。

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

除了优化您的媒体上传内容外,您可能还希望压缩存储在其他文件夹中的图像。现在,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.

★★★★★

“我不知道这些图像拖累了我的页面加载时间。该插件花费的时间几乎减少了一半。” – karlcw

★★★★★

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

★★★★★

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

★★★★★

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

那多站点呢?

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

Smush超级容易使用 – 没有令人困惑的压缩软件设置。每次只需对库中的图像进行压缩,或一次批量压缩多达50张图像。 此外,配置自动压缩,在上传图片时异步缩放和压缩部分或全部图像,速度快得令人难以置信。

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

自我推销

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

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

但是,如果您需要Super Smush有损压缩,快速CDN图像传递,WebP转换,自动调整大小,能够优化(或优化)最大32MB图像的功能,只需单击一下即可自动对所有图像进行批量模糊优化-将PNG转换为JPEG,具有Smush的功能,并可以复制完整尺寸的图像(可以随时还原它们),您可以随时采取下一步行动WP Smush Pro.并与整个WordPress优化英雄团队(安全性,SEO,性能,支持和维护自动化)的朋友们得到更多-得到数千个提供站点维护服务的代理商和自由职业者的信任。

隐私

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

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

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

关于我们

WPMU DEV是优质WordPress插件,服务和支持的优质供应商。在此处了解更多信息:
https://wpmudev.com/

不要忘记从互联网的第一资源了解WordPress的所有最新信息:
WPMU DEV Blog

嘿,还有一件事…希望您享受我们的免费产品,就像我们为您量身定制的一样!

联系和创作者

最初由Alex Dunae在Dialect( dialect.ca ,在’dialect dot ca’发邮件给’alex’)撰写,2008年11月。

屏幕截图

  • 通过Smush设置向导简单上手。
  • 观看图像库的处理过程 - 一次最多处理50张图像。
  • 设置自动优化以调整上传的每个图像的大小并优化它们。
  • Smush将为您查找和优化图像。

常见问题

我刚刚运行完Smush,Google PageSpeed仍然说我的图片需要压缩和调整大小。我该如何解决这个问题?

这意味着您的图像没有根据显示的位置进行适当的缩放。在上传图像之前对图像进行缩放可能会很耗时,但可以节省空间并加快加载时间。首先,确定你的图像需要多大的尺寸。您可以使用Smush免费版中内置的图像尺寸检测器来查找您的图像应该是什么高度和宽度。一旦你知道图像应该有多大,就把你的图像缩放到合适的大小。

PageSpeed Insights告诉我延迟屏外图像。 Smush可以解决此问题吗?

延迟加载将延迟屏幕外图像的加载,直到需要它们为止。 从Smush仪表板中选择“延迟加载”,然后单击“激活”。 Smush Lazy Load开箱即用,也可以根据您的需要进行自定义。

提示:如果您有任何问题或想节省大量时间,Smush专业版CDN包括自动调整大小。

Smush是否会删除或替换我的原始全尺寸图像?

不。 WordPress会裁剪并调整您上传的每个图像的大小,以嵌入到您的网站中。默认情况下,Smush仅压缩这些裁剪和调整大小的图像,而不压缩原始的全尺寸图像。要压缩原始的全尺寸图像,请使用Smush Pro.

我的图像应该使用什么类型的文件(GIF、PNG、JPG)?

GIF 文件很大,无法进行太多优化。仅当图像具有动画效果时,才应使用它们。

PNG 最适合计算机生成的图形(矢量,徽标,字体等),颜色很少的图像或透明的图像。

JPG 应该用于具有多种颜色变化的摄影或图像。

提示: Smush专业版CDN包含WebP压缩 – 比JPEG和PNG文件小 25% 至 30% 的更清晰的图像。

我是一名摄影师。我可以保留我所有的EXIF数据吗?

是! EXIF数据将相机设置,焦距,日期,时间和位置信息存储在图像文件中。 EXIF数据会使图像文件更大,但如果您是摄影师,则可能需要保留此信息。我们提供了在Smush中保留EXIF图像数据的选项。

我只是运行了批量压缩,而我的某些图像没有,而我的某些图像没有被压缩。为什么会这样?

首先,检查是否收到任何服务器错误。如果图像似乎正在正确处理,请检查要跳过的图像的文件大小。 5mb以上的图像将被跳过。要压缩最大32mb的图像,请获取 Smush Pro.

我激活了Smush,但我看不出图像质量有什么不同。我怎么知道Smush是不是在工作?

好问题!重要的是要了解Smush是一种优化工具,它使用无损图像压缩来节省磁盘存储空间并加快站点速度。 Smush从图像文件中压缩数据,这将节省空间,调整大图像的大小并提高速度而不会改变质量。

您可以使用Smush统计信息跟踪媒体库中文件的大小更改,单个图像节省,目录节省以及Smush总节省。如果您想了解更多其他方面的知识,请使用WP Checkup或Google PageSpeed Insights运行之前和之后的页面速度测试。在页面速度方面,节省的每一点资源都很重要!

难道我不能只使用Photoshop或其他图像编辑应用程序来优化我的图像吗?

优化所有由WordPress生成的图像尺寸,从插件和主题导入的图像,以及从其他网站导入的图像是一个痛苦和耗时的过程。

Smush自动处理所有图像的优化,无论它们来自哪里,并且可以作为独立工具使用,也可以与Photoshop一起使用。

我的Google PageSpeed测试告诉我提供下一代格式的图像。 Smush可以做到吗?

并非所有浏览器都支持WebP和其他下一代格式,并且需要占位图像。 因此,WebP转换仅在Smush Pro中可用。 Smush Pro将图像转换为WebP,比JPEG和PNG节省25-30%,并在不受支持的浏览器上提供后备图像。

是优化(optimise 英)还是优化(optimize 美)?

这取决于您生活在大西洋的哪一边…但是,无论您说是优化(optimise 英)还是优化(optimize 美),优化大师还是Smush的速度女神,此插件都可以确保您的图像快速加载。

评价

2021年11月25日
Perfecto para delegar la tarea de optimización de las imágenes, sobre todo si el usuario final no comprende (o no quiere) el tema de la optimización del peso de las imágenes.
2021年11月24日
Não sou especialista e, talvez por isso, seja uma pessoa indicada para recomendar este plugin, pois consegui usar de maneira descomplicada, melhorando o desempenho do meu blog.
2021年11月24日
Optimizing my images along with lazy loading images results in a huge difference with page speed. I've tried others but this is the only plugin in this category that I can recommend with confidence. This is a 5 star plugin without question.
阅读所有5,745条评价

贡献者及开发者

“Smush – 延迟加载图像、优化和压缩图像” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Smush – 延迟加载图像、优化和压缩图像”插件已被翻译至39种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Smush – 延迟加载图像、优化和压缩图像”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

3.9.2 ( 2021-11-01 )

  • Fix: Code and stability improvements

3.9.1 ( 2021-10-05 )

  • New: Option to compress uploaded images
  • New: Option to disable WordPress scaled images
  • New: Compressing uploaded and backups are now free for all users
  • Enhance: Detect and warn about other potentially conflicting lazy load plugins
  • Fix: Deprecated jQuery deprecated warnings
  • Fix: CDN ‘wp_smush_cdn_before_process_src’ filter
  • Fix: Remove HTML markup in Local WebP wizard
  • Fix: PHP Fatal error – cannot use object of type stdClass as array
  • Fix: PHP warnings when optimization fails via WP CLI
  • Fix: Missing CDN upsell meta box
  • Fix: Ignored images not being skipped from image re-check process

3.9.0 ( 2021-08-24 )

  • New: Wizard for setting up the local WebP conversion
  • Enhance: Wrong tooltip title showing up on configs on hover
  • Enhance: WPBakery detection when the base directory is custom named
  • Fix: CDN status not getting updated when enabling the CDN via configs
  • Fix: Local WebP rules path getting truncated in some environments
  • Fix: WooCommerce gallery thumbnails not being served from the CDN
  • Fix: Failing to restore PNG images that were converted to JPG
  • Fix: “Save” button on the Bulk Smush page changing its size when saving
  • Fix: Some options not being removed on uninstall
  • Fix: Image size names overflowing their container in the Gutenberg blocks stats table

3.8.8 ( 2021-07-22 )

  • New: Allow serving locally stored WebP images through the CDN
  • New: Allow excluding WebP from the media types to lazy load
  • New: Add a widget for handling configs to the Dashboard page
  • New: WP CLI will now properly detect and convert images to WebP
  • Enhance: Prevent uploading config files across plugins
  • Enhance: Whitelabel support
  • Enhance: Lazy load integration with Divi theme
  • Enhance: Lazy load integration with GiveWP donation form
  • Enhance: Redirect to module page after activating on the dashboard
  • Fix: Local Webp says that the Amazon S3 integration is enabled although it’s not
  • Fix: Images not loading in embedded posts and pages when lazy load is enabled
  • Fix: Replace WP_SMUSH_API_TIMEOUT by the correct constant WP_SMUSH_TIMEOUT in error messages
  • Fix: Bulk Smush progress not starting from zero after a Smushing took place
  • Fix: Images without Smush backups being included in the bulk-restore list
  • Fix: Lazy load parsing issue with forums AJAX requests from BuddyBoss
  • Fix: Disable CDN on WPMU DEV hosting staging sites
  • Fix: Configs in the free version not syncing with the Hub

3.8.7 ( 2021-06-18 )

  • Enhance: Display a message when local WebP creation fails due to directory permissions
  • Fix: Error when applying a config from the Hub and the WebP module gets toggled
  • Fix: Compatibility issue with WP < 5.7
  • Fix: Wrong count of images to re-smush when the ‘big_image_size_threshold’ filter return false
  • Fix: Thumbnail images not being converted to JPEG on upload

3.8.6 ( 2021-06-15 )

  • New: Dashboard page
  • New: Global configurations
  • New: Add tutorials to dashboard
  • New: Integration with Buddyboss theme and Buddyboss Platform plugin
  • Enhance: Move out Smush modules to dedicated pages
  • Enhance: Documentation links now link to correct sections on documentation page
  • Fix: Issue with scrolling to originals & backup section
  • Fix: Avoid creating backup files for SVGs
  • Fix: Display of “Settings” link appearing when plugin is deactivated for network
  • Fix: Incorrect number of total images during bulk smush with NextGen Gallery plugin activated
  • Fix: Super smushed count on Nextgen Gallery Smush page
  • Fix: Directory Smush fails when a directory has spaces
  • Fix: Uploading image over the max width was creating backup file when “Store my small originals” is enabled
  • Fix: Table “smush_dir_images” was failing to create when deleted manually
  • Fix: Settings not showing up on subsites after the plugin has been deactivated for network
  • Fix: Stuck “re-smush” status on the free version

3.8.5 ( 2021-05-13 )

  • Enhance: Allow filtering the resulting image markup after the Lazy Load processing
  • Enhance: Prevent the description text next to the “Update settings” button from saving
  • Enhance: Use the shared module for Tutorials
  • Fix: Incompatibility issue with WPBakery Page Builder
  • Fix: Total savings value loosing decimal point on image re-check
  • Fix: Inability to unselect all thumbnail sizes
  • Fix: Lazy loading on Avada (use ‘WP_SMUSH_LAZY_LOAD_AVADA’ define in case of conflicts on Avada 6.x)
  • Fix: Icons in Directory Smush modal
  • Fix: Links in summary meta box on multisite
  • Fix: Warning: count(): Parameter must be an array or an object that implements Countable
  • Fix: Uploading images to Gutenberg blocks
  • Fix: Styling issue in Smush’s network-admin upgrade page
  • Fix: Undefined offset in multisite when smushing the “uploads” directory
  • Fix: Wrong directories listed in “Directory Smush” under Windows

3.8.4 ( 2021-03-18 )

  • Enhance: Compatibility with WordPress 5.7
  • Enhance: Lazy load compatibility with Slider Revolution
  • Enhance: Apache rules for local WebP on multisite
  • Enhance: Apache rules for local WebP on subdirectory installs
  • Enhance: Local Webp description texts
  • Fix: Backups not properly removing from S3 containers
  • Fix: Compatibility with Jetpack Site Accelerator
  • Fix: Compatibility with WordPress native lazy loading
  • Fix: UI inconsistencies in local WebP module
  • Fix: Browser console errors on upgrade page
  • Fix: Menu not working on mobile views
  • Fix: PHP warnings with images offloaded to S3 buckets
  • Fix: Image preview on WPML Media Translation screen
  • Fix: Directory Smush empty folder detection
  • 修复:图像调整检测UI
  • Fix: PHP Notice: Trying to access array offset on value of type bool
  • 修复:翻译字符串

以前版本的变更日志