Create and insert high resolution images to support high DPI displays.
PHP JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
README.txt
hidpi-image-editors.php
wp-hidpi-images.php

README.md

WP HiDPI Images

WP HiDPI Images is an easy to use plugin that serves images which look good on both a normal screen and HiDPI displays. It generates and serves 2x versions of the image sizes defined by your theme or plugins. All of this is done behind the scenes, there is no settings to set or additional image size to select when inserting media into a post.

2x images of non cropped sizes will be created from the original image. If you do not upload an image that is at least 2x the defined image sizes, it will not create a 2x version; the full sized image will be served instead of a 2x version. Cropped image sizes will always generate a 2x version based off of the original image even if the 2x version dimensions are larger than the original image.

FAQ

  • If I deactivate the plugin, will my images still work?

  • Yes. This plugin does not change any files, it only creates new ones and filters them in where appropriate.

  • Why didn't the plugin generate a 2x version of the image?

  • The plugin will only generate 2x images sizes if the original image is at least 2x the dimensions of the defined image size.

Installation

  • Activate the plugin, it'll handle the rest

Pre Existing Images

  • Existing media will not have the 2x sizes automatically generated. To do this it is recommended to use the Regenerate Thumbnails plugin.
  • Cropped images that have been inserted into the content and have not had their thumbnails regenerated will be replaced with the full version of the image with a forced max height and width.