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,206 This week: 1All time: 3,147 This week: 560Up
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
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 58
All time rank: 618 in United States United States
Week rank: 21 Up4 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

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,206
This week:1
All time:3,147
This week:560Up
 User Ratings  
 
 All time
Utility:79%StarStarStarStar
Consistency:79%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1074