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: Diashow add on for CPG 1.6  (Read 4501 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
Diashow add on for CPG 1.6
« on: November 02, 2019, 08:16:04 pm »

Shows a nice slideshow (css only) of your gallery pics in current login context.

Unzip, copy to your gallery root. Configure in script file (first lines) if you like. Call page with web browser.

Example:
http://pics.timos-welt.de/diashow.php

Hit F11 in Browser to go completely full screen.

Enjoy!
 :)
Logged

sharpo

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 332
Re: Diashow add on for CPG 1.6
« Reply #1 on: November 03, 2019, 12:59:10 am »

Just looked at your example, very clever.
Logged
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: Diashow add on for CPG 1.6
« Reply #2 on: November 05, 2019, 01:47:15 pm »

Thx, but I'm not the first one to use CSS for animation (you can find this kind of code all over the net), I just added the CSS generator in PHP and some quick database query to get the pics.

Probably it would be a good idea to create a plugin to replace the standard slideshow with this one, as it's probably an increased value for some people compared to the standard one.

I could also imagine a gallery theme with this kind of animation in title bar on the album list page. Probably completely adaptive / responsive, with a nice burger menu button and without any table constructs... Let's see if I can find the time. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.