没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > png-shadow-generator |
|
png-shadow-generator
|
| 1 | 0 | 3 |
| 贡献者 | 讨论 | 代码提交 |
This library, currently written in PHP, was created as a reverse-engineering effort of the deviantART shadow generator. You can add shadows around images using JavaScript and/or CSS on page-load, rather than by a pre-processing method such as Photoshop.
Images are cached on-disk to bypass the generation script on subsequent accesses.
There are a few "versions" available:
"Full" version, allowing you to produce shadows in different colours. "Basic" version, which just does black / alpha. Obfuscated basic version (bit of a prank).
I have also provided sample JavaScript (for use with jQuery) and CSS code for auto-shadow addition to images surrounded by SPAN elements with a class of "shadow".
Requirements:
PHP 5 or greater. GD extension enabled. The directory containing sh.php must we writable by the web server.
标签:
