Which file does the javascript code come from in displayimage.php? Which file does the javascript code come from in displayimage.php?
 

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

Which file does the javascript code come from in displayimage.php?

Started by MarianneC, August 26, 2008, 07:28:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarianneC

On this page:

http://useaboston.com/2008a/displayimage.php?album=1&pos=17

in internet explorer,  when you mouseover the main image, the javascript says "Click here to view full size image" -- where is that verbiage coming from?  I need to eliminate it, but I can't find the text.

I should be able to figure this out, but I haven't made any headway on this issue for a bit.

Many thanks,
Marianne

Joachim Müller

The full-size pop-up isn't opening because of this: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup

The words "Click here to view full size image" are being defined in your language file, e.g. lang/english.php

The JavaScript bits that compose the link can be overridden by editing themes/yourtheme/theme.php

MarianneC

Thanks Joachim.

I do have that line in my template - but I can see that it isn't showing up in the source for that page.  Any idea why that would occur?

(Meanwhile, I can go look in the language file...)

Marianne

Joachim Müller


MarianneC

Sorry - wrong question.

I understood that the faq is saying that the reason the message comes up is because the javascript functions are not there.

However, that line of code *is* in my template and does show up in the source.  The javascript functions are not happening, however.

That's the part that is confusing to me.

Marianne

Nibbler

Upload a clean copy of scripts.js. You've done something to it to put it all on one line which has stopped it working.

MarianneC

Woo hoo!  Thanks Nibbler.

I have always used ws-ftp, but it is doing something really odd on this server, and I've had to stop using auto, and specify how I want each file transferred.  bizarre.