PHP Classes
elePHPant
Icontem

Make Banner Class: Configure and generate graphical banners

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-05-21 (3 months ago) RSS 2.0 feedStarStarStarStar 62%Total: 1,136 This week: 1All time: 3,124 This week: 1,029Up
Version License PHP version Categories  
makeban 1.2GNU General Publi...4.0Graphics, Content management
Description Author  

This class can be used to configure and generate graphical banners.

It can generate images of a given size with one or more text phrases. The texts may have configurable position, font, size, color, rotation and shadow.

The banner image may also configurable background images or color gradients and border thickness.

The generated banner images may be served as the current script output or saved to files in the GIF, JPEG and PNG formats.

The class also generates form select inputs for choosing from predefined background images, colors, fonts and sizes.

Picture of Dave Smith
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 12 packages by
Country: United States United States
Age: 50
All time rank: 980127 in United States United States
Week rank: 21 Up1 in United States United States Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

Details provided by the author  
makeban class - generate automated/user generated banners
version 1.1 7/14/2007

readme.txt - Installation instruction for the class and example script

Copyright (c) 2007, Wagon Trader (an Oregon USA business)
All rights reserved.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

1) Upload all files to your server in the http root or web accessable folder.

2) If you want surfers to save banners on your server, create a save folder, the class assumes a 
folder name of /save. Change permissions to 777 (rwxrwxrwx).

3) Create a fonts folder, the class assumes /fonts and expects to find Arial.ttf, Times.ttf and 
Verdana.ttf. Upload the true type fonts you wish to use into this folder and change the fonts variable
in the class to match these.

4) Make any setting changes to the makeban.class.php file

5) Point your browser to the makeban.php file and you are ready to create banners online.

Dave
  Files folder image Files  
File Role Description
Files folder imagetemplates (2 files)
Accessible without login Plain text file makeban.php Example Working example for html page
Plain text file makeban.class.php Class Main Class
Accessible without login Plain text file readme.txt Doc. Installation instructions
Accessible without login Plain text file showban.php Example Example to generate preview

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Image file lumber.jpg Data Example image background
  Accessible without login Image file threeway.jpg Data Example image template

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,136All time:3,124
 This week:1This week:1,029Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:58%StarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:735