Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Retina @2x

Skildring

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.

Installasjon

  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!

Vanlege spm.

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.

Omtalar

22. desember 2021
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…
3. september 2016
Nice plugin, does exactly what I need without adding unnecessary code.
Les alle 6 omtalar

Bidragsytarar og utviklarar

“Retina @2x” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.6

Updated the plugin description and installation guidelines.