AnythingSlider plugin AnythingSlider plugin
 

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

Main Menu

AnythingSlider plugin

Started by mykee, September 01, 2013, 10:26:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mykee

Hi all,

This plugin add a photo slider to index page.

I integrated AnythingSlider script to Coppermine. Add a few parameters to Control panel directly for better use, but if you an advanced user, can write custom javascript or add more custom parameters.

Very and big thanks to original developer, because this plugin made from one of the best slider script.
License under GPL, but for more parameters, license, script go to this website for developer:
https://github.com/CSS-Tricks/AnythingSlider

With this plugin can:
- add photo title to slider
- setup delay
- setup photo title position
- setup navigation shows (arrows, navigation bar, slideshow start/stop, keyboard navigation)
- choose theme
- setup wrapper div width
- custom div class and slider id
- autoplay on/off
- add custom parameter
- add custom javascript
- select random, last additions, most viewed, top rated albums
- setup number of pics
- setup link to picture (none, to picture, to album)
- use normal or full sized picture

More parameters see attached preview, and read Readme.txt file after plugin installation!
Attention: if use any addon JQuery on site, then turn off JQuery in this plugin settings (default is off)!

I tested, but with First Visit Hint plugin not runned correctly to me after install this plugin!
I hope this will working correctly to you.

If you upgrade from previous versions follow these steps:
- go to plugin settings, and write or copy your parameters to safe place
- uninstall plugin in Plugin manager
- upload new version (or replace files manually)
- activate plugin
- setup your parameters

--------------------------------------------------------
Update 1.2 (2014/07/11):
- Updated script to 1.9.4 version
- Slider show on gallery page only
- Optimized code

Update from 1.1 to 1.2 version:
- download AS_Update_1.1_to_1.2.zip
- unpack to an empty folder
- copy files to your site\plugins\anythingslider folder and replace files. That's all!
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

I've tested this out on a live gallery, and it works great.  A lot of custom configuration options, with great documentation. 

My only suggestion is (in configuration) you allow an option to open the original image.   

mykee

Thanks for tip, and link is generated under picture: if move with cursor to top of picture, and click it!

Or need you more option?  ???
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

No that's perfect.  Goal is to allow users to explore the gallery. 

mykee

#4
Thanks, I attached modified version where picture link goes to album. Please check cpg1.5.x_plugin_anythingslider_v1.0a version!
But if you need an option a link to album (no to picture), then I will make it soon.
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

Great job, I'll check it out later. 

Maybe you can include options in the config?  This way you don't need to maintain different versions.   

mykee

#6
Ok, I will add this option, and will add an options to next version:
- use normal pictures too, not only full picture

New, 1.1 version is out with upgrade info in first post, please check it!
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

sharpo

Just installed this plugin in my test gallery - and it works very well!

Thanks, it's interesting to try different plugins.
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

mykee

#8
I have a little mod, if you need: slider only on first page, no show on catalog page. (Updated <2014/07/11> to 1.2 version)

Open codebase.php, and find this:
// Add filter for page head
$thisplugin->add_action('page_start','anythingslider_head');
// Add search display action
$thisplugin->add_filter('plugin_block','anythingslider_mainpage');
//Add plus styles for metas
$thisplugin->add_filter('gallery_header','anythingslider_header_addons');
//Add script to footer
$thisplugin->add_filter('gallery_footer','anythingslider_footer_addons');


And replace with:
function anythingslider_noindex () {
  global $superCage;
   if ($superCage->get->keyExists('cat') or $superCage->get->keyExists('file')) {
      return "1";
    } else {
      return "0";   
    }
}
$anythingslider_noindex = anythingslider_noindex();

if ($anythingslider_noindex == "0"){
// Add filter for page head
$thisplugin->add_action('page_start','anythingslider_head');
// Add search display action
$thisplugin->add_filter('plugin_block','anythingslider_mainpage');
//Add plus styles for metas
$thisplugin->add_filter('gallery_header','anythingslider_header_addons');
//Add script to footer
$thisplugin->add_filter('gallery_footer','anythingslider_footer_addons');
}
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

lurkalot

#9
Nice job mykee.  Any way to make it display on an external page please?  In a lot of cases the gallery is only part of a website, and it be useful to display such things on forum index, or home pages etc.  Just thinking aloud.  ;)
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

mykee

AnythingSlider is a very flexible script, because I use this on my PHPBB forum too for topic lists. I just connected to coppermine too with simple settings. :)
If you need a bridge to coppermine, then need write to your forum or other pages, but source from coppermine. I think make a query with PHP, and result send to AnythingSlider.
Or need you to a standalone page or iframe to coppermine?  ??? Hmmm... If can I make a standalone page under Coppermine, then I will think about it.
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

lurkalot

Quote from: mykee on January 13, 2014, 07:31:05 PM
AnythingSlider is a very flexible script, because I use this on my PHPBB forum too for topic lists. I just connected to coppermine too with simple settings. :)
If you need a bridge to coppermine, then need write to your forum or other pages, but source from coppermine. I think make a query with PHP, and result send to AnythingSlider.
Or need you to a standalone page or iframe to coppermine?  ??? Hmmm... If can I make a standalone page under Coppermine, then I will think about it.

Thanks mykee, I already have Coppermine bridged with SMF which also has a portal installed.  So what about calling and displaying the AnythingSlider from a php, or html / javascript block for example?

Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

mykee

If use this slider on other page, use iframe, like this:
<iframe  style="width:100%;height:(what you want)"  src="(your site path)#anythingcontainer"  seamless="seamless" scrolling="no" frameborder="0" allowtransparency="true"></iframe>
This is a simpliest solution.  :)
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

mykee

Plugin updated! Check first post to update or new version!
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

mykee

Plugin updated to 1.3 version! See first post to full plugin or 1.3 update (for 1.2 version). Changed: added restriction to sql select.
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php