Member
Member
maestro72x   01-09-2009, 01:06
#1

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

Member
Member
sbillard   01-09-2009, 23:01
#2

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.

Member
Member
maestro72x   04-09-2009, 07:32
#3

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

Member
Member
maestro72x   04-09-2009, 08:32
#4

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

Administrator
Administrator
acrylian   04-09-2009, 12:33
#5

You really should do this via CSS as is deprecated.

Member
Member
sbillard   04-09-2009, 22:58
#6

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.