ZenphotoCMS Forum
reflections.js - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: reflections.js (/thread-5777.html)



reflections.js - maestro72x - 2009-09-01

I saw this in the simple+ theme but it no longer works with the new version.
Has anyone implemented this in their theme?




reflections.js - sbillard - 2009-09-01

It was pretty easy to add reflections.js to the Default theme. Just follow the instructions that come with it and pass the reflect string as the 'Class' parameter to the image functions. This made nice reflected thumbnails, but it did not work correctly with the full image--the reflection was offset left of the image. Probably a CSS issue, but I did not persue it.

For your info:
add to the of any page you want the reflections to be used. Then change the function calls as follows:

thumbnails: printImageThumb(getAnnotatedImageTitle(),'reflect');
Images: printDefaultSizedImage(getImageTitle(),'reflect');

The author of the Simple+ theme seems to have done nothing recently on it. He does say it does not work on Zenphoto 1.1.7 which is ancient history.




reflections.js - maestro72x - 2009-09-04

would you look into fixing the main image? its such a classy feature




reflections.js - maestro72x - 2009-09-04

i threw a html tag in and it worked
"title="">




reflections.js - acrylian - 2009-09-04

You really should do this via CSS as is deprecated.




reflections.js - sbillard - 2009-09-04

You might also want to look at the nightly build. There is a new sample plugin which will allow you to select from a whole bunch of effects produced by Christian Effenberger. Even a reflect effect that worked correctly out of the box.