Slideshow: Blending from Image to Image, caching Slideshow: Blending from Image to Image, caching
 

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

Slideshow: Blending from Image to Image, caching

Started by pyzahl, August 30, 2005, 02:15:33 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

pyzahl

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