PHP Easy Reflections

Sometime around 23/9/08 (at 09:12 -0400) Walter Lee Davis said:

Strictly speaking, no; you can configure Apache to pass .html or .foo
or .bar or whatever through the PHP sausage machine.

:slight_smile:
I always thought it kinder to leave the poor ol’ PHP engine alone
except when really needed.

(Although making my remote server parse .html for PHP code would mean
that I could get semi-proper local previews of pages with nuggets of
PHP code goodness mixed into the HTML all-bran rather than seeing raw
code in Safari. Even though the PHP wouldn’t be rendered. Hmm…)

k


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The image is loaded through the image so the page
ending shouldn’t affect it, at least it didn’t on some test examples I
did on my server.

On Sep 23, 2008, at 3:02 PM, Keith Martin wrote:

Sometime around 18/9/08 (at 10:53 -0400) george said:

http://reeltimedvd.com/new_site/consumerservices.html

Silly question: doesn’t the page need to end in .php rather than
.html in order to make the server’s PHP parser to come out to play?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi George,
Looking at the image you’ve applied the effect to I can see that there
is quite a bit of blank white space at the bottom;
http://reeltimedvd.com/new_site/Resources/photoandvideo.jpeg
I suspect the PHP is doing it’s job but is simply reflecting some of
this white image to create this reflection;
http://reeltimedvd.com/new_site/reflect_v3.php?img=Resources/photoandvideo.jpeg&height=20
%&fade_start=80
If you change the height attribute from 20% to 100% you’ll see that
the PHP is, indeed, doing it’s stuff;
http://reeltimedvd.com/new_site/reflect_v3.php?img=Resources/photoandvideo.jpeg&height=100
%&fade_start=80
If you can trim the white space from your image I think you should be
set.
Regards,
Tim.

On 18 Sep 2008, at 07:53, george wrote:

I just gave this a go and no luck.

I believe the reflection will not show up in FW, so I uploaded the
page to my site (which has php) and there is no reflection.

I don’t see any other discussion about this, but hopefully some
folks have some tips.

Here is the page:

http://reeltimedvd.com/new_site/consumerservices.html

FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks everyone. I tried this on a different image and used a small reflection percentage and it now is working.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options