wordpress批量导入_如何在WordPress中批量调整大图像的大小

wordpress批量导入

Uploading large images to your site can significantly slow down your site. This is why we recommend users to always save images optimized for the web. However if you run a multi-author site, then it can be difficult to monitor images uploaded by other users. What if we told you that you can automatically resize large images on your WordPress site, even long after they are uploaded? In this article, we will show you how to bulk resize large images in WordPress.

将大型图片上传到您的网站可能会大大降低您的网站速度。 这就是为什么我们建议用户始终保存针对Web优化的图像的原因 。 但是,如果您运行一个多作者站点,则可能很难监视其他用户上传的图像。 如果我们告诉您,即使上传了很长时间,您仍可以自动调整WordPress网站上的大图像大小,该怎么办? 在本文中,我们将向您展示如何在WordPress中批量调整大图像的大小。

Important: Please backup your WordPress site before bulk resizing images. Once resized, this action cannot be undone.

重要提示:在批量调整图像大小之前,请备份您的WordPress网站 。 调整大小后,此操作将无法撤消。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First thing you need to do is install and activate the Imsanity plugin. Upon activation simply go to Settings » Imsanity to configure the plugin.

您需要做的第一件事是安装并激活Imsanity插件。 激活后,只需转到“设置”»“ Issanity”即可配置插件。

Imsanity plugin settings

The plugin allows you to choose the maximum image size for all images uploaded to a post/page, images uploaded directly to media library, and images uploaded for theme options.

该插件可让您为上传到帖子/页面上的所有图像,直接上传到媒体库的图像以及为主题选项上传的图像选择最大图像尺寸。

The default value is 1024 x 1024 pixels which you can change at any time.

默认值为1024 x 1024像素,您可以随时更改。

Below the image sizes, you have the options to choose image quality, convert BMP to JPG, and PNG to JPG.

在图像尺寸下方,您可以选择图像质量,将BMP转换为JPG,将PNG转换为JPG。

The default WordPress image quality for jpegs is 90, and setting it lower will result in loss of quality. Converting your BMP files to jpegs is always a good idea. However, converting PNG files to JPG does not always result well.

jpegs的默认WordPress图像质量为90,将其设置为较低将导致质量下降。 将您的BMP文件转换为jpeg始终是一个好主意。 但是,将PNG文件转换为JPG并非总是效果良好。

Once you are done, press the save changes button to store your settings.

完成后,请按保存更改按钮以存储您的设置。

On the same page, you will find a Search Images button at the bottom. Click on it to locate files that are larger than maximum sizes you defined in your settings.

在同一页面上,您会在底部找到“搜索图像”按钮。 单击它以查找大于您在设置中定义的最大大小的文件。

The plugin will locate and display large images.

该插件将定位并显示大图像。

Resize large images

Review the results and uncheck any images that you don’t want to resize.

查看结果,然后取消选中您不想调整大小的图像。

Once you are done, press the Resize Image Sizes button, and the plugin will start resizing images into the maximum values you entered in settings. It will also automatically replace large images with the normal sized ones.

完成后,按“ 调整图像大小”按钮,该插件将开始将图像调整为您在设置中输入的最大值。 它还将自动用正常尺寸的图像替换大图像。

That’s all, we hope this article helped you bulk resize large images in WordPress.

仅此而已,我们希望本文能帮助您在WordPress中批量调整大图像的大小。

You may also want to take a look at Why you need a CDN for your WordPress blog.

您可能还想看看为什么您的WordPress博客需要CDN

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterGoogle+上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-bulk-resize-large-images-in-wordpress/

wordpress批量导入

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值