LightBox Slideshow Plugin - Page 7 LightBox Slideshow Plugin - Page 7
 

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 2 Guests are viewing this topic.

makk

Thanks for the quick response though!
That's not an easy choice to make but since I much much much rather have a working LightBox than a "simple" popup, I'll have to go with that one!

You can consider my post here as a request for future versions to include some kind of fix for it maybe =)

makk

Hi again all! Have another question, this time only concerning this particular plugin!

I have been going through the .js-files trying to see where I could change to get the pictures description (the one I always assumed was "caption") instead of the images title within this slideshow
If I don't have a title on the picture, the filename is used instead, but I very very rarely use titles at all on my pics. Its almost always just "description + keywords"

I will attach a screenie to try and show what I mean. In this particluar screenie:

the fileName is: "00293.jpg"
the title is: "[blank]"
the desc. is: "Short ice pass before leaving for home again" <= and this is what I want to see, but since title is blank, only fileName (without.jpg) is shown

Joe Carver

Quote from: makk on January 28, 2010, 12:34:15 PM
I have been going through the .js-files...........

makk, You should have spent your time going through the board rules........

1) Read and search the board AND this thread too!

2) always post a link to your Coppermine when asking for support!

makk

Well Joe! Thanks!
Since I posted such a link in my post just above that one (2 posts in a row, I hope thats not spam?), I really didn't think that would be a demand! Maybe would be easier to put it in a signature ....... (I guess I have to do that) And yes, I actually did go through the 7 pages in this thread before posting. Maybe I did a crappy job at that then. I am very sorry for that.
Would it be to much to ask if you could point me in the right direction Joe, since you seem to know the answer, or atleast the location of the post that has the answer?

much appretiated



makk

@Joe Carver:
Now I am back home again with my regular computer, and I just wanted to say thanks again, and after re-reading the same thread again, I actually found the spot I guess you where reffering to!
So "problem" solved!

Next time, I will see to it that I also insert a link with my question!

/M

lurkalot

Not sure if it's this plugin causing the problem, but when clicking on a image in the  latest coments page of my gallery I get get the following error,

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 786465 bytes) in /home/cameracr/public_html/gallery/plugins/light_box/codebase.php on line 136

Others have reported a blank white browser window when they click a image from here too.  But viewing images from other pages seem ok.

Can someone help me to fix this please?  :'(

Link  http://cameracraniums.com/gallery  and other info in my signature.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Nibbler

Find


$aid = (empty($_GET['album']) || $_GET['album']=='random' || $_GET['album']=='lastup') ? $picId['aid'] : $_GET['album'];


Change to


$aid = (empty($_GET['album']) || !is_numeric($_GET['album'])) ? $picId['aid'] : $_GET['album'];

lurkalot

Quote from: Nibbler on January 30, 2010, 06:01:28 PM
Find


$aid = (empty($_GET['album']) || $_GET['album']=='random' || $_GET['album']=='lastup') ? $picId['aid'] : $_GET['album'];


Change to


$aid = (empty($_GET['album']) || !is_numeric($_GET['album'])) ? $picId['aid'] : $_GET['album'];


Nibbler, thanks for the reply.  where / what file do I edit please? is it the codebase.php file mentioned in the error?

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

lurkalot

ok, just checked the codebase.php file.

I don't have the code you mentioned in my file, I have,


$aid = empty($_GET['album']) ? $picId['aid'] : $_GET['album'];


This is probably because I'm using version 1.1 of the plugin.  Do I need to upgrade it, and will I still have to alter that code if I do?
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Joachim Müller

Only up-to-date versions get supported at all. There are reasons why new versions get released: usually, errors in previous versions get fixed. This should answer your question as well wether you should upgrade.

yelymayta

I installed it and the slideshow works fine but when I click on the thumbnail on the main page to go to the image page, it shows the full-sized image instead of the _normal pic. I understand that when you upload a pic..there is a thumbnail image created along with a _normal and then a full size pic. Is it the lightbox error or something else?

Joachim Müller

You should have posted a link to your gallery (which appears to be http://galeria.effectsfx.com/). For you the same piece of advice I posted one posting above yours applies: you need to upgrade first. Your version: cpg1.4.24. Current stable release: cpg1.4.26.

yelymayta

i have the new version now, but lighbox still not working, i have the same problem

Joe Carver

Attach a screenshot of your plugin manager page.

yelymayta

^ done

Joe Carver

 ???

You need to install the plugin!!!

Click on the i in the small circle ..........

After you are done go to Config >> General Setting >> Enable Help icons >> Yes.

And please read your documentation - it will save time for all.

yelymayta

^ no, no, I had to delete it because it not work, and up again XD

yelymayta


Joachim Müller

I don't think that this plugin is compatible with Stramm's modpack.

yelymayta

I think the same, thanks Joachim