![]() |
![]() |
|
Current Projects: PHP on XP Guide — NFO Viewer — Easy Reflections — Photon Storm — HotWire — FileGlider
Tuesday, March 13. 2007Easy Reflections v3Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I agree with Brendon, very nice job. Always nice to see little freebie scripts like this one, gave you a plug and looking forward to seeing what else you come up with in the future.
Very nice script.
Try foreshortening the returned image. I have found that grabbing 2X the desired height, then resizing to the original height before returning the image looks more like a reflection. Thanks for sharing your work.
I have used the reflection.js on my site but I would like to try this php script. Not to sharp on the technical stuff...so I ask: Do I put my image in the [' img '] in the two lines below?
if (isset($_GET['img'])) $source_image = $_GET['img']; Is there anything else I need to do if default is my starting point? Thanks for your help...Ron
This doesn't work correctly in Internet Explorer 6 of course because it doesn't support 24-Bit PNG alpha transparency. So I tried different PNG alpha fixes for ie6. However, this script will only work with those fixes if you put the height parameter first, otherwise the background will still be gray:
<img src="reflect.php?height=36&img=mypic.png" /> Maybe this is helpful to someone. Anyhow, a very nice script!
Hi - Most IE PNG fixes I've seen that use JavaScript and DOM checking for image tags only work if the element has been assigned a fixed height, either via CSS or within the img tag itself, which is most likely what you are experiencing here.
hi
i'd like to use your script for a js image carousel but i need the src img to be "img/img.jpg" style. How can i apply the reflection calling your script once (ie not like: "reflect.php?/img/img.jpg"). Thanks Vitto
Hi....very good this script...
but.. how I can use images from mysql database tks
hi...
how I can use reflections with images stored in mysql database.. tks |
QuicksearchCategoriesMy AS3 Blog
Photon Storm Great PHP links
C7Y PHP Podcast CorePHP is hosted by |