OnlyFreeScripts.com - Free PHP, ASP, Java Scripts, tools & Utilities

Your source for

Free PHP, ASP, Java Scripts
Tools & Utilities







CSS Shadow Effect - Free PHP Scripts


CSS Shadow Effect

Need a shadow for an image that doesn't require using any graphics library calls, you can simply use this tool to generate the HTML for any image you might have. This tool does use some graphics library calls to get the size. Completely free to use or download. Either download the PHP function, or copy and paste the HTML that this tool generates for your image with whatever shadow options that you might set. For the web form or the function call, you need to supply the image URL, background color (to blend away to), shadow color (if blank, uses the image's average color - neat effect), shadow distance (1 to 20px), blend strength, as well as "alt" tag for image. Accepts HEX codes or colors by name. Override width and height are optional parameters. Gets size info for GIF, PNG, JPG, but other img src types should pass override values. The source code only handles images, but could easily be changed to apply shadows to tables, paragraphs, blockquotes, etc. as long as they have a set width and height.

Download Script Below
  CSS Shadow Effect


Home | ASP Scripts | PHP Scripts | Java Scripts | Tools and Utilities | Links | Free Web Hosting / Domain Name Providers


OnlyFreeScripts.com - Copyright 2004  Contact Us