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: Fancybox media viewer  (Read 1692 times)

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 1731
Fancybox media viewer
« on: April 30, 2021, 01:36:40 am »

This plugin leverages the fancybox javascript library to provide an alternative viewing method for media when going directly from thumbnails to the larger image.

It features zoom/pan, fullscreen, download, slideshow (albums) and right-click protect. It is touch-enabled, as well. Configure differently for each user group.

To be fully functional, it requires the newer version of jQuery (a javascript library) that comes with version 1.6.12 and later of CPG.

Update: v1.1 resolves failure condition when smilies are enabled in comments
Update: v1.2 correct thumbnail actions for user profiled images
Update: v1.3 added ability to configure differently for each user group
 
« Last Edit: August 15, 2021, 03:31:26 am by ron4mac »
Logged

kodif

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fancybox media viewer
« Reply #1 on: August 11, 2021, 01:52:48 am »

Throws error when clicked "Album list">"Last comments" when comments has smileys

Quote
Fatal error: Uncaught Error: Call to undefined function process_smilies() in D:\Apache\htdocs\sites\galeria7\include\functions.inc.php:1183 Stack trace: #0 D:\Apache\htdocs\sites\galeria7\include\functions.inc.php(1525): build_caption(Array, Array) #1 D:\Apache\htdocs\sites\galeria7\plugins\fancybox\codebase.php(52): get_pic_data('lastcom', '2713', '<img src="image...') #2 D:\Apache\htdocs\sites\galeria7\include\plugin_api.inc.php(215): plg_fancybox_deploy('<!DOCTYPE html ...') #3 D:\Apache\htdocs\sites\galeria7\include\functions.inc.php(949): CPGPluginAPI::filter('gallery_header', '<!DOCTYPE html ...') #4 D:\Apache\htdocs\sites\galeria7\include\init.inc.php(442): load_template() #5 D:\Apache\htdocs\sites\galeria7\thumbnails.php(28): require_once('D:\\Apache\\htdoc...') #6 {main} thrown in D:\Apache\htdocs\sites\galeria7\include\functions.inc.php on line 1183
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 1731
Re: Fancybox media viewer
« Reply #2 on: August 11, 2021, 01:44:44 pm »

Thank you for your feedback.
See the updated version (1.1) above.
Logged

kodif

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fancybox media viewer
« Reply #3 on: August 11, 2021, 05:40:56 pm »

Yes, this is solved.

But..

Lets say that we have some users in our gallery.

On index page, we have "Last updated albums",  with thumbs and names of author.
After click on user name, we are redirected to his profile, where we can see
thumb "Last uploaded file. Click to see all uploads by ..."

After clicking, we are redirected to page with adress 
http://galery/thumbnails.php?album=lastupby&uid=...

and here, clicking on thumbs does nothing, but after reloading page in browser,
images are displayed correctly.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 1731
Re: Fancybox media viewer
« Reply #4 on: August 11, 2021, 08:25:48 pm »

Wow! You should be a professional software tester.  ;)

See v1.2 above.
Logged

kodif

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fancybox media viewer
« Reply #5 on: August 13, 2021, 01:41:11 pm »

Actually, I am :)

I am glad I can help :)
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.