Vote Image: Generate images to render the average of votes

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 606 All time: 5,093 This week: 794Up
Version License PHP version Categories
vote_image 0.1GNU General Publi...4.0Graphics
Description Author

This is a simple class that can be used to render an image that can represent the average of votes taken in a poll.

It takes as parameters the total number of votes and the number of approval votes.

The class generates an image that shows the proportion of approval votes relatively to the total number of votes.

It uses an image to show the part that represents the approving votes, and another image to show the remaining votes. The images that it uses to render both parts are configurable.

Picture of Nguyen Duy Quang
  Performance   Level  
Name: Nguyen Duy Quang <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 39
All time rank: 6638 in Australia Australia
Week rank: 710 Down9 in Australia Australia Down

  • vote-screen.jpg
  Files folder image Files  
File Role Description
Plain text file Class Class to draw vote image
Accessible without login Plain text file getimgvote.php Example Get the image vote from class
Accessible without login Image file heartblank.png Icon Image with heart no fill
Accessible without login Image file heartfill.png Icon Image with heart full fill
Accessible without login Plain text file testvoteimage.html Data Out put image vote to html

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,093
This week:794Up

For more information send a message to info at phpclasses dot org.