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: Slideshow: Blending from Image to Image, caching  (Read 3165 times)

0 Members and 1 Guest are viewing this topic.

pyzahl

  • 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:
http://mysite.verizon.net/pyzahl/MTB-Kerenzerberg/8.html
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.