PHP Classes

FineDiv: Create rounded corner image styles for HTML pages

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 1,565 All time: 2,521 This week: 56Up
Version License Categories
finediv 1.0GNU Lesser Genera...HTML, Graphics
Description 

Author

This class can be used to generate rounded color image styles to decorate HTML page elements.

It generates only one image for the corners and a CSS style sheet to produce a cross browser compatible rounded corners effect that works without JavaScript.

Several parameters may be configured like the corner colors, radius, width and output image format.

The corners image can be generated in JPEG, PNG and GIF formats. When the GIF format is used, the corner edges may be transparent.

This class generates the corners image and CSS using an MD5 hash of the corner parameters to define the image and CSS file names. This way it avoids the overhead of generating new files when the corner parameters do not change.

Picture of Peter Klauer
Name: Peter Klauer <contact>
Classes: 18 packages by
Country: Germany Germany
Age: 65
All time rank: 352 in Germany Germany
Week rank: 216 Down9 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x

Screenshots (3)  
  • finedivsample.jpg
  • finediv.jpg
  • kinderrattat.jpg
  Files folder image Files (7)  
File Role Description
Plain text file liquidcorners.inc Data CSS template. Put it into the css folder.
Plain text file class_finediv.php Class First version
Plain text file finediv.txt Doc. A readme file
Plain text file sample.php Example example of how to implement the 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:1,565
This week:0
All time:2,521
This week:56Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:72%StarStarStarStar
Examples:72%StarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:626