Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Mirror - add reflection to image on displayimage.php  (Read 42415 times)

0 Members and 1 Guest are viewing this topic.

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Mirror - add reflection to image on displayimage.php
« on: November 25, 2009, 07:39:43 pm »

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
« Last Edit: March 09, 2010, 10:54:56 am by Timos-Welt »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Mirror - add reflection to image on displayimage.php
« Reply #1 on: November 25, 2009, 07:46:10 pm »

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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Mirror - add reflection to image on displayimage.php
« Reply #2 on: November 25, 2009, 08:12:01 pm »

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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Mirror - add reflection to image on displayimage.php
« Reply #3 on: November 26, 2009, 08:36:09 am »

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

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: Mirror - add reflection to image on displayimage.php
« Reply #4 on: December 01, 2009, 11:56:27 am »

Plugin is now stable and version is 1.0.

Have fun!
Timo
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Mirror - add reflection to image on displayimage.php
« Reply #5 on: December 01, 2009, 12:10:34 pm »

Added to the download section (see initial posting)
« Last Edit: January 28, 2010, 08:40:28 am by Joachim Müller »
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: Mirror - add reflection to image on displayimage.php
« Reply #6 on: December 02, 2009, 04:42:14 pm »

Added to SVN (r6823).
Logged

Gene-2008

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 188
Re: Mirror - add reflection to image on displayimage.php
« Reply #7 on: December 02, 2009, 08:41:27 pm »

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

Thanks,
Gene
Logged

hausert

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
Mirror Plug-in Slideshow error
« Reply #8 on: October 09, 2010, 11:51:28 am »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Mirror - add reflection to image on displayimage.php
« Reply #9 on: October 12, 2010, 09:54:01 am »

Merged bug report by hausert with plugin announcement thread.
Logged

silverfrog

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • bytes land
Re: Mirror - add reflection to image on displayimage.php
« Reply #10 on: March 11, 2011, 11:38:07 am »

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

shreyabhatt

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 1
    • govt jobs
Re: Mirror - add reflection to image on displayimage.php
« Reply #11 on: January 07, 2012, 05:00:03 pm »

works fine with me too. thanks a hip mate...
Logged

QuincyG

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 1
Re: Mirror - add reflection to image on displayimage.php
« Reply #12 on: July 15, 2017, 07:49:41 am »

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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Mirror - add reflection to image on displayimage.php
« Reply #13 on: July 19, 2017, 02:37:53 pm »

Maybe this plugin interferes with another plugin. Which other plugins do you use?
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.