This section describes how to install the plugin and get it working.
- You MUST be running PHP >= 5.0 and have GD library
- Make sure that you have this line in your
php.ini file: allow_url_fopen = ON
- Upload
plugin-name.php to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
- How to use
- If you don't want an image to be sprite-ed you can add
rel="no-sprite" to the image tag
- You can now specify a height and width in the image tag and the image will be resized before sprite-ing
- If you want to do a resize and crop of the image (maintaining aspect ratio) add a
rel="crop" tag to your image
- If you want a fixed width or fixed height image, just add either a height or width and cSprites will resize and maintain aspect ratio