LightBox Slideshow Plugin - Page 3 LightBox Slideshow Plugin - Page 3
 

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

LightBox Slideshow Plugin

Started by jeepguy_1980, April 13, 2009, 06:40:40 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

jeepguy_1980

The page isn't really "reloading" it's opening the current picture (i.e. you advance 5 pictures and exit the slideshow, it will change the CPG page to the new picture).

lurkalot

jeepguy, this a great plugin, and been using it since you released it.  So thanks.  ;)

Is there a way to increase the image size?   At the moment the images when viewed in the lightbox are not much bigger than intermediate.   I would like to make them slightly bigger.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Joe Carver

@lurkalot
Did you try going into the file lightbox_s.js ?
You might be able to try disabling resize....
var resize = 1;// Set 0 to disable auto-resizing

Or alternatively could you try adjusting the amount of window that the resize function uses?
resizeImageAndContainer: function(imgWidth, imgHeight) {
if(resize == 1) {//resize mod by magarnicle
useableWidth = 0.9; // 90% of the window
useableHeight = 0.8; // 80% of the window


Keeping in mind the obvious fact that it does a good job of resizing the pic. based on how much browser window
is available when the first image is shown.

(it is a great plugin!)

lurkalot

Quote from: i-imagine on June 02, 2009, 01:37:11 PM
@lurkalot
Did you try going into the file lightbox_s.js ?
You might be able to try disabling resize....
var resize = 1;// Set 0 to disable auto-resizing

Or alternatively could you try adjusting the amount of window that the resize function uses?
resizeImageAndContainer: function(imgWidth, imgHeight) {
if(resize == 1) {//resize mod by magarnicle
useableWidth = 0.9; // 90% of the window
useableHeight = 0.8; // 80% of the window


Keeping in mind the obvious fact that it does a good job of resizing the pic. based on how much browser window
is available when the first image is shown.

(it is a great plugin!)

Thanks for that info.  I'll have a play with that later and see what happens. ;)
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

mainak

This is a great plugin...it has been said many times but needs to be said one more time. So, once more from me. Gr8 stuff jeepguy, thank you very much for the plugin.

Quote from: i-imagine on April 14, 2009, 12:26:32 AM
Fantastic! Very well done. Thank You
Running here i-imagine.net and here http://gallery.josephcarver.com/natural/
i-imagine
(notes from a newbie:1) ie7 shows "error on page" - 'document.getElementById(...)'is null or not an object, does not appear to affect function 2) (off topic) had to remove comments recaptcha mod. due to ie7 crash, but no crash with FF and Opera(/off topic) Thanks Again

i-imagine,

if I may ask you. I have installed the plugin but dont see the caption in the slide show. I guess you achieved this by some other means. Do you mind sharing it ?

Regards,
Mainak

Joe Carver

Please, in your future postings follow the rules for posting. Always provide a link to your gallery, search and read before posting too.

I am not 100% certain what you mean by "caption". However the answer has probably already been posted in this thread.

If you mean "Click here to save a version..." then see this post
Quote from: jeepguy_1980 on April 14, 2009, 01:50:10 PM
open js/lightbox_s.js........

If you mean the Internet Explorer error then see this post
Quote from: i-imagine on April 16, 2009, 08:57:42 PM
n file lightbox_s.js find this..........

mainak


Sorry for not providing a link to my gallery...

By caption I meant title of the picture. Its there in your slide shows. I have installed this plugin but dont see the titles... Can you please tell me how can I have the titles in the pictures during slide show.

Thanks,
Mainak
---------------
My gallery: www.batabyal.com/gallery

Joe Carver

As far as I know that display should work without any modifications. There were a few things you should look at before you get too concerned.

The first thing you need to do is upgrade before doing anything else. You are out of date.

Quote<!--Coppermine Photo Gallery 1.4.21 (stable)-->

Then afterwards you can start by testing the effects of any other plugin or mod. like this one that you have installed.

Quote<! Script to disable the right click option in the picture>

You also will have to modify the style in file lightbox.css for the text to show in the Lightbox window.

CFR

THX a lot, really great work, now my gallery is more pretty ;)

CFR

I found conflit with other plugins. Lightbox dont work if is instaled:
- Flikr syle image annotations http://forum.coppermine-gallery.net/index.php/topic,41715.html
or
- OpenSearch http://forum.coppermine-gallery.net/index.php/topic,41136.html

But still i think, this LightBox is great :)

brr

Hello!

When the slideshow is running it shows the pictures and the picture title. But is it possible to also showing the picture description at the bottom of the Lightbox slideshow box?

My gallery: http://web.brr.no/cpg-galleri/

Bjørn Roger Rasmussen, Norway

mainak

Hi,

I have update my Coppermine Gallery to the latest version and also removed the "No right Click" option from template.html as suggested by i-imagine.

Quote from: i-imagine on June 12, 2009, 06:11:40 PM

You also will have to modify the style in file lightbox.css for the text to show in the Lightbox window.


Can you please help with what exactly I need to put to get the Title of the picture in the slide show. I am a novice and don't know anything about web programming.

Thanks,
Mainak
---------------
My gallery: www.batabyal.com/gallery

Joe Carver

You are using a dark theme which has white text - the title is there, you just can't see it.
One choice would be to change your Copermine theme (easy to do)
Or...
You will have to learn a little about stylesheets and editing .css files or you could get into trouble.

The plugin has a file lightbox.css in slideshow/css directory.

Find:
#imageDataContainer{
font: 10px Verdana, Helvetica, sans-serif;
background-color: #fff;
margin: 0 auto;
line-height: 1.4em;
}


Replace with:
#imageDataContainer{
font: 10px Verdana, Helvetica, sans-serif;
color: #000000;
background-color: #fff;
margin: 0 auto;
line-height: 1.4em;
}


Be careful if you don't know what you are doing

mainak

Thanks a lot i-imagine. It now works perfectly.

Regards,
Mainak
---------------
My gallery: www.batabyal.com/gallery

ZokiBoSS

Great plugin. I need a little help for a hack.. Can this slideshow be directly started from thumbnails.php? When I click on a thumbnail, to open directly this slideshow.. And one more question.. Does it affect to the count of the stat of opened images? I mean, is it count the visits when you work with the slideshow?

Thank you.

jeepguy_1980

The view count should increase. I can't really verify this, since the admin IP doesn't affect the view count. But someone contributed a .js file to increase the view count when viewing photos in the LightBox slideshow.

As for the modifying it to work with thumbnails, it could be done. But that would basically be a complete rewrite of the mod.

jeepguy_1980

I updated the original post to include version 1.2.

1.2 fixes a conflict with Nibblers Displaying videos from Youtube in Coppermine mod.

magnusjohnsson

I have the Photo Shop plugin on my site http://www.kalmarfoto.com:8080/kalmarfoto/index.php. It works well. Then i install the Ligtbox Slideshow it removes the Photo Shop titel on the small picture (before the large one, se picture attach). Can i have both plugin at the same time?

jeepguy_1980

The LightBox plugin gives viewers access to the fullsize pictures.  I'm not sure how the Photo Shop plugin works, but doesn't it prevent users from accessing the fullsize picture? If so, I don't think you'll want the LightBox plugin.

Joachim Müller

I don't think that they are compatible, as the Lightbox prevents users from accessing displayimage.php - everything happens on the thumbnail page. The photoshop plugin mainly works on the displayimage.php screen, which the user can not access.