Support > cpg1.6 plugin contributions

Fancybox media viewer

(1/8) > >>

ron4mac:
This plugin leverages the fancybox javascript library to provide an alternative full size viewing method for media (image/video).

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.

Versions prior to v1.4.0 function only when the CPG config option to go directly from thumbnails to the larger image is enabled. Version 1.4.0 and later does not have that restriction.

Update: v1.3 added ability to configure differently for each user group
Update: v1.3.2 made compatible with Lazy Load plugin
Update: v1.3.3 corrected unwanted auto-advance from video
Update: v1.3.4 use default display method for files not handed by FancyBox
Update: v1.3.6 added option to update view count for images
Update: v1.3.8 adds the capability to open image in an intermediate view (alt/option click thumbnail)
Update: v1.4.1 now functions in both gallery full image view modes (+bugfix for 1.4.0)
Update: v1.4.2 avoids keyboard slide navigation interference from other plugins
Update: v1.4.3 reduced possibility to interfere with other plugins

kodif:
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
--- End quote ---

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

kodif:
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.

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

See v1.2 above.

Navigation

[0] Message Index

[#] Next page

Go to full version