Slider animation on album list page for cpg1.5.x - Page 2 Slider animation on album list page for cpg1.5.x - Page 2
 

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]

Main Menu

Slider animation on album list page for cpg1.5.x

Started by Timos-Welt, January 03, 2009, 12:22:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scohen125

It was in the English Language File.  Thank you for the suggestions.  I changed the site so now it reads 'Sample Images' on top of the homepage.

www.retinagallery.com
Here is the line I changed in the English Language File for anyone interested.
$lang_meta_album_names['random'] = 'Sample Images';

Cmaniac

Hello.

Have you coded 0.7 version of slider2? Currently slider2 0.5 is causing my gallery to crash and when installing together with 0.7 of slider enlargetit! wont work.

Thanks

sbrenna

Great plugin!
I would like to have the slideshow displayed on all pages in the header (not just on the front page), so I need to put the code to call the slideshow in the template.html (I guess). I did this with the flashcloud plugin, however I can't figure out how to do this with this one. Any help would be appreciated.

Thanks

saleks

Hi,
Great work. Is there possibility to automaticly resize thumbnails in Slider and show all in equal heigh.

fmk

Great plug-in. But security issue persists.

Unregistered users are able to see pics from private albums.
FMK

Love doesn't stop by my door, I am always infatuated with new things.

spider666

Hello. I discover another issue. Thge slide show pictures who have not be validated by the admin :-( any update ?

Many thanks for your grat job

lurkalot

#26
Any ideas on how to make this slider work with PNG files?  Please.  They don't seem to display, all my jpg's do just fine.

Any help would be appreciated.

EDIT:  I can get the PNG files to show by editing the codebase.php file, and replacing instances of jpg with PNG.  I can't seem to get both types to display though, and that's what I need.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

TCWORLD

I have been having problems with this addon. It installs properly, but when it appears on the gallery page, all i get is 1 image in the centre that moves a couple of pixels back and forth.
(I am using cpg1.5.8 and IE9).

I'm not sure why there is a problem, but I have switched to using the imageflow plugin instead, but I thought it worth reporting here that there seems to be a problem with the slider plugin.

Cath22

The previous slider (for 1.4) showed on the first page a random selection, but when going into a category, it showed only photos from that particular category (or album). I like that very much.
But in this new version (for 1.5) you always get a random selection from all photos instead of the particular category or album....

Can something to be done at this in the code, or is it waiting for a newer version?

example http://www.fotofantastic2.nl

Thanks
qui custodiet ipsos custodes

Αndré

#29
If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Examples how you might use it on every external website:
Code (inline frame) Select
<iframe src="http://yoursite.com/gallery_directory/index.php?file=slider/fetch" width="100%" frameborder="0" /></iframe>

Code (PHP) Select
echo file_get_contents('http://yoursite.com/gallery_directory/index.php?file=slider/fetch');


Edit 2011-07-22: updated attachment

hobert

Quote from: lurkalot on March 06, 2011, 02:44:32 PM
Any ideas on how to make this slider work with PNG files?  Please.  They don't seem to display, all my jpg's do just fine.

Any help would be appreciated.

EDIT:  I can get the PNG files to show by editing the codebase.php file, and replacing instances of jpg with PNG.  I can't seem to get both types to display though, and that's what I need.

Well, switching JPG and PNG will just pick one or the other, but it sounds like you want both, so, change it to...

WHERE (filename LIKE '%.jpg' OR filename LIKE '%.png') AND filename not like 'youtube_%'
Please note the parenthesis locks the two with OR together, so either of these conditions will be met, as well as the rest of the WHERE statement.

lurkalot

Quote from: Αndré on July 20, 2011, 10:49:14 AM
If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Examples how you might use it on every external website:
Code (inline frame) Select
<iframe src="http://yoursite.com/gallery_directory/index.php?file=slider/fetch" width="100%" frameborder="0" /></iframe>

Code (PHP) Select
echo file_get_contents('http://yoursite.com/gallery_directory/index.php?file=slider/fetch');


Edit 2011-07-22: updated attachment

Fantastic, thanks Andre, it works very nicely, and is just what I wanted. ;)

Quote from: hobert on July 20, 2011, 07:41:21 PM
Well, switching JPG and PNG will just pick one or the other, but it sounds like you want both, so, change it to...

WHERE (filename LIKE '%.jpg' OR filename LIKE '%.png') AND filename not like 'youtube_%'
Please note the parenthesis locks the two with OR together, so either of these conditions will be met, as well as the rest of the WHERE statement.

Thanks hobert, this is handy to know, I'll give that a try. ;)
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

wildenborch

Hi,

Quote from: Αndré on July 20, 2011, 10:49:14 AM
If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Is it possible to open the slider images in a _blank page instead of opening in the same page?
Is it possible to make the slider not clickable at all?

Best regards

link to my website: [url]http://www.vanveen-nl.com//url]

Αndré

Quote from: wildenborch on July 23, 2011, 07:07:51 AM
Is it possible to open the slider images in a _blank page instead of opening in the same page?
Replace
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\">
with
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\" target=\"_blank\">
three times.


Quote from: wildenborch on July 23, 2011, 07:07:51 AM
Is it possible to make the slider not clickable at all?
Remove
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\">
and
</a>
completely (three times).

wildenborch

Super!
Thank you very much for this quick reply!.


mr.bena

Issue with this plugin:

* IE always crash. (I use IE 8)
* Last upload pictures shown even before approved by the gallery admin.

Question : How can I set a specific album in my gallery for the slider. It only offers "Last upload, Random Files, Mot Viewed and Top Rated".



mr.bena

This plugin would be very great if it offers "Choose Album" option apart form "Last Upload, Random, Most Viewed, Top Rated".

Can anyone suggest me how would I set one of my albums for this sliding pictures..

hobert

I don't know this particular plugin at all, but I am familiar with the slider code.  You need to change this line in codebase.php:

$slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' $slider_FORBIDDEN_SET $META_ALBUM_SET ORDER BY RAND() LIMIT $sliderlimit";
by replacing $META_ALBUM_SET with AND aid IN (95, 96, 97)   (the number being the album(s) you want).

Niecher

Quote from: Αndré on November 01, 2010, 12:14:06 PM
Open codebase.php, find
// Add search display action
$thisplugin->add_filter('plugin_block','slider_mainpage');
// Add filter for page head
$thisplugin->add_action('page_start','slider_head');

and replace with
if (!$superCage->get->keyExists('cat')) {
    // Add search display action
    $thisplugin->add_filter('plugin_block','slider_mainpage');
    // Add filter for page head
    $thisplugin->add_action('page_start','slider_head');
}


I tried this code but it causes an error in php and displays a message saying something like "not an object". I do not remember the exact message. Anyway, I could not use it.

Then, as the slider appears in all categories, is it possible to show only the latest files for each category where the slider is displayed instead of displaying the latest files uploaded in the gallery?.

Niecher

Quote from: Niecher on March 11, 2013, 01:21:24 PM
I tried this code but it causes an error in php and displays a message saying something like "not an object". I do not remember the exact message. Anyway, I could not use it.

Then, as the slider appears in all categories, is it possible to show only the latest files for each category where the slider is displayed instead of displaying the latest files uploaded in the gallery?.

Sorry ;D I meant random files in each category where the slider is displayed instead of random files from the gallery.