Mirror - add reflection to image on displayimage.php Mirror - add reflection to image on displayimage.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Mirror - add reflection to image on displayimage.php

Started by Timos-Welt, November 25, 2009, 07:39:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Timos-Welt

I looked for Javascript reflection effects but found none under a GPL license, so I decided to write one myself. This plugin generates a mirror-like reflection on displayimage.php just below the image. The effect is client-sided, so there's no additional server load. The effect is tested and works fine with IE>=6, Firefox >=1.5, Opera, Chrome, Safari. It's only 2,2 KByte of Javascript that is added to the page.

Mirror will only work if 'Insert a transparent overlay to minimize image theft' is deactivated. Feel free to adapt the size and opacity of the reflection by editing mirror.js to your needs. This plugin and the plugin 'image_manipulate' may not be used at the same time.

SVN

Download latest SVN snapshot

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_mirror_v1.3.zip/download

Please don't send any PMs to me regarding this plugin; reply to this thread instead. Thanks!

Have fun!
Timo

Αndré

What exactly should we see at the link you provided ???

phill104

The little reflection at the bottom of the pic Andre. Quite nice really. I would like to see some of the other js effects howerve. I reckon a mouseover zoom box (loupe) would be usefull
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

Ah okay. I haven't seen that on my 12" screen yesterday ;D

Timos-Welt

Plugin is now stable and version is 1.0.

Have fun!
Timo

Joachim Müller

#5
Added to the download section (see initial posting)

Timos-Welt


Gene-2008

Nice...I am working on a plugin to add framing around the displayimage and popup fullsize.

Thanks,
Gene

hausert

When using the Mirror v1.3 Plugin, and displaying a slideshow, the mirror effect doesn't get updated with the pictures changing. I think, because the mirror effect gets calculated onload, but the slideshow does not refresh the entire site.

Regards

hausert

Αndré

Merged bug report by hausert with plugin announcement thread.

silverfrog

Thank you for the plugin. Works with me perfectly! :)
'I speak BASIC to clients, 1-2-3 to management, and mumble to myself.''

shreyabhatt


QuincyG

Hey guys, I couldn't get this plugin to work after installing it. I like the mirror effect. Is this plugin working for anyone else?

Αndré

Maybe this plugin interferes with another plugin. Which other plugins do you use?