PHP Classes
elePHPant
Icontem

Image Slicer: Generate HTML to present images divided in pieces

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-08-14 (12 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 2,100 All time: 1,809 This week: 611Up
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
Innovation award
Innovation award
Nominee: 5x

Winner: 3x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,100
This week:0
All time:1,809
This week:611Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:986
 
makasih ^^
6 years ago (Jack Peter)
70%StarStarStarStar