Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Which file does the javascript code come from in displayimage.php?  (Read 3331 times)

0 Members and 1 Guest are viewing this topic.

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Which file does the javascript code come from in displayimage.php?
« Reply #1 on: August 26, 2008, 07:51:23 am »

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
Logged

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Which file does the javascript code come from in displayimage.php?
« Reply #2 on: August 26, 2008, 07:59:30 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Which file does the javascript code come from in displayimage.php?
« Reply #4 on: August 26, 2008, 02:10:11 pm »

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
Logged

Nibbler

  • Guest
Re: Which file does the javascript code come from in displayimage.php?
« Reply #5 on: August 26, 2008, 02:26:04 pm »

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.
Logged

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Which file does the javascript code come from in displayimage.php?
« Reply #6 on: August 26, 2008, 03:00:46 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 17 queries.