PHP Gradient Image Generator
PHP Code
Please Register to submit score.
| Average Score | 7.0 (of 1 scores) |
| Date Added | Aug 28, 2008 |
| Last Updated | Aug 28, 2009 |
| Tags | 44 generator gradient image jonesy jonesy44 php |
Description
Okay, so this little script is put seperately in your directory, then you can access it using CSS, or an image html tag. The idea is mainly for a web banned. This is the script i used on Lindrian's website.
http://www.hawkee.com/profile/img/2034/
http://omega.neeq.net/?page=/theme.php
Example:

Anyways, i did use tutorials to help create this so i guess not all creedit to myself! but to w3schools too (and another i can't remember) lol.
To use:
That's all there is to it! Although, you can play around with the height and widths and all! The default gradient is set at black-white. to change it, simply add the start and end variables
http://www.hawkee.com/profile/img/2034/
http://omega.neeq.net/?page=/theme.php
Example:

Anyways, i did use tutorials to help create this so i guess not all creedit to myself! but to w3schools too (and another i can't remember) lol.
To use:
| Code: |
| <img src="gradient.php?start=START_HEX_COLOR&end=END_HEX_COLOR" /> |
That's all there is to it! Although, you can play around with the height and widths and all! The default gradient is set at black-white. to change it, simply add the start and end variables
http://wfs.myartsonline.com/gradient/
A live example can be found in the above link. just add "start" and "end" values
A live example can be found in the above link. just add "start" and "end" values
This could be made into an app that generates the image file for people to download. You don't want to be running the PHP code every time you need the image.
Thanks. and i'll take your comment into consideration.. although, im not sure how i could save the file after generating it .. back to w3










