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

Retina @2x

描述

This plugin adds a simple Javascript to your WordPress website that will check for each image if there is a retina version available. This will make sure that your images (logo’s, buttons, images with text) look sharp on Apple devices with retina displays.

When you have for example a logo of 200 by 200 pixels called “Logo.png”, you will need to upload a second image of 400 by 400 pixels called “Logo@2x.png” in the exact same directory.

安装

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Done!

常见问题

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Done!
Will this work with images from a CDN?

No, we might add this later.

What’s the difference between Retina @2x and other Retina plugins?

Other plugins may automatically generate the retina version of your image(s). This plugin is much more simple and lightweight and only looks for retina images. If you don’t upload a “@2x” version, the original image will be shown and therefore not look sharp on mobile devices.

评价

2021 年 12 月 22 日
I had one site where the perfect images plugin failed. This served up those images nicely. It would be nice to develop the plug further so that it creates @2x images (after thumbnail regeneration with another plugin). Because now I have to use 3 plugins to get it to work for new images…
2016 年 9 月 3 日
Nice plugin, does exactly what I need without adding unnecessary code.
阅读所有6条评价

贡献者及开发者

「Retina @2x」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Retina @2x」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.6

Updated the plugin description and installation guidelines.