Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Slideshow: Blending from Image to Image, caching  (Read 3765 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.014 seconds with 19 queries.