PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2015-05-21 (4 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,197 All time: 3,121 This week: 288Up
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.

  Performance   Level  
Name: Dave Smith <contact>
Classes: 47 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 29x

Winner: 6x

 

Details
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,197
This week:0
All time:3,121
This week:288Up
 User Ratings  
 
 All time
Utility:85%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:70%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:786