這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

HiDPI Gravatars

外掛說明

Automatically replaces the standard resolution Gravatars with HiDPI (Retina) Gravatars using HTML (when supported) or Javascript (as needed).

You need this plugin if you want blog comments to look crisp and clear on Retina, HD, and similar devices!

You need this plugin if you want compatibility with all web browsers. The HiDPI features added in WordPress 4.2 are not compatible with older browsers, unless you have this plugin activated. The included Javascript helps make your website look the same in new and old browsers.

Theme Requirements

You may not omit the wp_head and wp_footer template tags for this plugin to work correctly.

Cache Compatibility

HiDPI Gravatars is designed to be fully compatible with page caching plugins such as WP Super Cache.

Pages that were cached prior to activating HiDPI Gravatars will need to be refreshed. Empty the cache to make sure the new Gravatars will appear.

HiDPI Gravatars is not compatible with any Gravatar caching plugins.

Other Gravatar Plugins

HiDPI Gravatars might not detect customized Gravatar functions in other plugins. As of version 1.4, HiDPI Gravatars relies on the WordPress get_avatar filter. Custom avatar generators that avoid or disable this filter will be ignored by HiDPI Gravatars.

安裝方式

  1. Upload the hidpi-gravatars directory to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

This is a zero-configuration plugin. There are no settings.

Deactivation removes everything except the files you uploaded. There is no “uninstall” necessary.

Personal avatar note: For best results when uploading a new avatar, use an image at least 128 x 128 pixels in size. The old “standard” size of 80 pixels will be inadequate on Retina displays.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈HiDPI Gravatars〉的開發相關工作。

參與者

將〈HiDPI Gravatars〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.1

  • Fixed Internet Explorer bug, released 8 August 2015.
  • Adjusted JS for situations where devicePixelRatio is undefined in IE10.
  • WordPress 4.3-RC2 tested.

1.5

  • Updated for WordPress 4.2, released 12 March 2015.
  • New logic adds compatibility with WordPress 4.2 alpha and future releases.
  • Old logic kept to also support old browsers that need this plugin even in WordPress 4.2.
  • Now always using srcset on admin pages when a supported browser is detected.
  • Removed the custom trigger, which was not compatible with the new srcset features.
  • Dropped support for WordPress less than 3.1.

1.4.2

  • Fixed a minor bug, released 19 February 2015.
  • Some Gravatars were not being detected correctly.

1.4.1

  • Fixed upgrade issues, released 19 February 2015.
  • Reverted old JS file so it wont interfere with old cached pages.
  • Removed extra ‘1x’ code to better match the W3C draft.

1.4

  • Enhanced for newer browsers, released 19 February 2015.
  • Added detection of srcset support in new browsers.
  • Javascript manipulation is minimized when srcset can be used.
  • Falls back gracefully to JS code in older HiDPI browsers.
  • Upgrade Note: Cached pages might be LoDPI after switching from 1.3 to 1.4. This is fixed in 1.4.1.

1.3

  • Compatibility improvement, released 23 November 2012.
  • Better detection of which pages have Gravatars.
  • Added a definable trigger for theme and plugin authors to use as needed.
  • Added troubleshooting documentation.
  • WordPress 3.5-RC1 tested.
  • WordPress 3.6-RC1 tested 16 July 2013.
  • WordPress 3.7.1 tested 31 October 2013.
  • WordPress 3.8-RC1 tested 7 December 2013.
  • WordPress 3.9-RC1 tested 9 April 2014.
  • WordPress 4.0-beta4 tested 21 August 2014.
  • WordPress 4.1-RC1 tested 13 December 2014.

1.2

  • Bug fixes, released 16 November 2012.
  • Added support for the Gravatars in admin ajax actions, such as comment replies.
  • Added support for the Mystery Man setting.

1.1

  • Compatibility fix, released 10 November 2012.
  • Adjusted to include devices that have a 1.5:1 pixel ratio.
  • Tested on Kindle Fire HD emulator.

1.0

  • Stable version, released 31 October 2012.
  • Added support for the Gravatars on the admin bar.

0.2

  • Beta version, released 31 October 2012.