该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Base64 Images

描述

NOTE
I am moving away from WordPress development, focusing more on web app development, which means maintaining this plugin no longer makes sense for me.
It will no longer receive updates, unless someone wants to take over the code base? If you are interested, please reach out to me.
Thank you all for your interest and support!

Base64 Images is a simple plugin to encode your media images on your site. Base64 encoding of images can have some SEO benefits for your site.

The plugin is as unobtrusive as possible: activate it, and media images are encoded. Deactivate it, and they are not. No settings, no gunk left in your database. * It hooks into WordPress approved hooks and filters to do its job.

(* There is some caching used for speed benefits, but the cached data will be totally removed when you uninstall the plugin completely.)

安装

Install like any other plugin, directly from your plugins page.

Activate the plugin – and that\’s all there is to it!

评价

2017 年 8 月 30 日 3 回复
This seems like a great idea to me, but somehow it doesn’t seem to be doing something quite right. The page size increases from ~2 MB to around 7 MB for me when Base64 encoding the images, and trying to view the page source will hang the entire tab. Also, the amount of requests increases from 42 requests to 44 according to the Pingdom Tools. It’s cool that this could improve general SEO scores, but it seems pointless if the page is actually much slower in practice. Maybe selective encoding where it would actually improve things would be better.
阅读所有3条评价

贡献者及开发者

「Base64 Images」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Base64 Images」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.1.5

  • Tested with newer versions of WoordPress.
  • Added note about end of life

1.1.4

  • Plugin defers action until after page header, to allow open graph images to embed un-encoded.

1.1.3

  • Fixed plugin’s Settings link on the Plugins page.

1.1.2

  • Fixed syntax error on older PHP versions.

1.1.1

  • Fixed bug when deleting posts/attachments.

1.1

  • Added setting to control the maximum image size that should be encoded.
  • Fixed bug when multiple images on a page would sometimes not all get encoded.

1.0.2

  • Fixed issue with WooCommerce category images.

1.0.1

  • Fixed small bug when uninstalling the plugin.

1.0

  • Initial release.