PHP Classes

Image Slicer: Generate HTML to present images divided in pieces

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 2,169 This week: 1All time: 1,806 This week: 36Up
Version License Categories
imageslicer 1.0.0FreewareHTML, Graphics
Description 

Author

This class is meant to generate an HTML table with an image sliced in smaller pieces.

It can be used to make pages with large images load faster by loading many small pieces at the same time.

The class takes the limit width and height of each piece and outputs an HTML table with with image tags to load each image slice.

Innovation Award
PHP Programming Innovation award winner
August 2004
Winner


Prize: One downloadable copy of PHPEd
Pages that have very large images tend to take a lot of time to load. A common trick to speedup loading of pages with large images is to split the images in many pieces so the browser can load them separately at the same time.

This class make image splitting possible without the need to explicitly divide the images in different files.

It generates the necessary HTML for making the picture appear in the right place of the page and the class it self extracts each piece to be served according to parameters passed in the URL of the image slices.

Manuel Lemos
Picture of Huda M Elmatsani
Name: Huda M Elmatsani <contact>
Classes: 14 packages by
Country: Indonesia Indonesia
Age: ???
All time rank: 161 in Indonesia Indonesia
Week rank: 11 Up2 in Indonesia Indonesia Down
Innovation award
Innovation award
Nominee: 5x

Winner: 3x

  Files folder image Files (4)  
File Role Description
Plain text file imageslice.php Class Main class
Accessible without login Plain text file sample1.php Example generate sliced image within a table
Accessible without login Plain text file slice.php Example image output
Plain text file slicer.php Class Needed class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,169
This week:1
All time:1,806
This week:36Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:931
 
makasih ^^
14 years ago (Jack Peter)
70%StarStarStarStar