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: Diashow add on for CPG 1.6  (Read 1354 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: 326
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, all now 1.6.04.
http://www.sharpos-world.co.uk/BB3cpg/ (1.6.07)with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images
http://www.sharpos-world.co.uk/kc/ with over 300 images

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.017 seconds with 22 queries.