PHP Classes

Make Banner Class: Configure and generate graphical banners

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,208 All time: 3,143 This week: 126Up
Version License PHP version Categories
makeban 1.2GNU General Publi...4.0Graphics, Content management


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
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 59
All time rank: 608 in United States United States
Week rank: 14 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x


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  
This week:0
All time:3,143
This week:126Up
 User Ratings  
 All time