This class can be used to generate sprite images and CSS to use image styles to use the sprites in Web pages.
It can take a list of images and generates a single sprite image with all the images inside.
The class can also generate CSS style definitions to use in Web pages that need to use the images from the generated sprite image.
October 2010
Number 2
Prize: One book of choice by Packt |
Web pages with many images force the browser to make too many requests to the Web server.
An alternative solution to reduce the number of requests consists in assembling several images into a single sprite image. Then use CSS styles that define how to clip each image from the sprite and use the image in the Web pages.
This class implements a PHP solution to assemble sprite from a list of images and the necessary CSS styles to use the images in the pages.
Manuel Lemos |
|
Pages that reference this package |
|
Latest pages that reference packages
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|