This plugin let you add a shortcode with two different image sources one too a normal sized image and one for retina. The plugin will then load the right image depending on if it’s a retina display or not.
For more info and how to use it.
A brief Markdown Example
[retina normal="path-to-normal-image" retina="path-to-retina-image" width="image-width" height="image-height" /]
- Download and Extract the zip file and just drop the folder “retina-for-wp” into the wp-content/plugins/ directory of your WordPress installation.
- Activate the Plugin “Retina for WP” on your “Plugins” page.
- To use Retina for WP you have to put the shortcode
[retina normal=”path-to-normal-image” retina=”path-to-retina-image” width=”image-width” height=”image-height” /] where you want the image in your editor.
“Retina for WP” 是开源软件。 以下人员对此插件做出了贡献。贡献者
Cleaned up the code a bit and added some info.