Just by uploading foo@2x.png, resized 1x are created automatically
How to use
- When used for posting
- Upload file with ‘@2x’ in file name
- Select ‘size item’ as ‘1x size’ when inserting media
- PHP echo(wp_get_attachment_image( IMAGE_ID,»1x» ));
Te puedes descargar este plugin para utilizarlo en tu instalación autoalojada de WordPress.