Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Slideshow: Blending from Image to Image, caching  (Read 3551 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Slideshow: Blending from Image to Image, caching
« on: August 30, 2005, 02:15:33 am »

I like a Slide-Show with blending over from current to the next images, for a static (igal) based gallery I worked out a blending mechanism, based on java script,
see attached slideshow.js and example below.

Blending works then using the blendimage function like this:

      <A href="javascript:blendimage('blenddiv','blendimage', 'DSCN3708.JPG',5000,'1.html')">Prev</A>
      <A href="javascript:blendimage('blenddiv','blendimage', 'DSCN3711.JPG',5000,'3.html')">Next</A>

I also force caching of the previous and next image for immediate availability of image data for blending and switching.
Just have Look at the html source of the link below.

Example, click on "Blend: Next" -- I'm not sure if this works with MSIE, but all Firfoxes (Mozilla based) are working great:
Pages: [1]   Go Up

Page created in 0.024 seconds with 20 queries.