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: 'ZOOM' Problem?  (Read 7043 times)

0 Members and 1 Guest are viewing this topic.

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
'ZOOM' Problem?
« on: October 12, 2003, 03:38:38 pm »

I've edited my theme, but i guess i must been done something wrong.
ThaT happened is the following:

I "cloned" hardwire theme, to use it as a "basis" to my new theme.
Everything works great, i've created my own buttons, links etc...

But, there's something wrong, the feature "click in the photo to FULL SIZE", is not working, if you guys don't know what i'm talking about, is when someone clicks on the photos it opens itself in a new window.

It's not working anymore, can someone give me some help?
Although i did not edited 'displayimage.php', i think the problem is right there... correct me if i'm wrong.

By the way! GauGau, AWSOME new Layout for the site.
I was a bit concerned when i tried to visit your site and always getting "You don't have permission"...

I'm glad that you and other people kept the interest at this amazing project, so if you need some help, even if it's with $, i could get you guys one year of webhosting, i guess the only way i might help, as i don't understand so much .PHP to help in "developing area".

Congrats to you and all the rest of the Staff that are supporting this project. :lol:

Well, that's it.
Thanks for reading my post.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
'ZOOM' Problem?
« Reply #1 on: October 12, 2003, 06:15:36 pm »

If the other themes work with the fullsize image, then the problem is not displayimage.php, it's in your theme.  Without a link to your site it's hard to tell what the problem might be.

Post a link to your site.  Take a look at your theme and compare it to the default theme.  More than likely you missed an include statement that calls the javascript functions.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Re: 'ZOOM' Problem?
« Reply #2 on: October 13, 2003, 05:41:57 am »

Quote from: "oZmosis"
I've edited my theme, but i guess i must been done something wrong.
ThaT happened is the following:

I "cloned" hardwire theme, to use it as a "basis" to my new theme.
Everything works great, i've created my own buttons, links etc...

But, there's something wrong, the feature "click in the photo to FULL SIZE", is not working, if you guys don't know what i'm talking about, is when someone clicks on the photos it opens itself in a new window.

It's not working anymore, can someone give me some help?
Although i did not edited 'displayimage.php', i think the problem is right there... correct me if i'm wrong.


Probably forgot to include the .js script file. Check out the difference...

Quote from: "oZmosis"

By the way! GauGau, AWSOME new Layout for the site.


Mmm.. yeh. Thanks!  :wink:
Logged

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
Re: 'ZOOM' Problem?
« Reply #3 on: October 13, 2003, 04:38:23 pm »

Quote from: "kegobeer"

Post a link to your site. Take a look at your theme and compare it to the default theme. More than likely you missed an include statement that calls the javascript functions.

Well, i just PM'd you, sending my site URL. Thx!

Quote from: "moorey"

Probably forgot to include the .js script file. Check out the difference...

How's that? How could i include it? Something about HEADERS at template.php (gee! hope i ain't typing bull***t, hehehe).

By the way, the old theme (hardwire) at SlideShow function it has a 'fade' effect, wich one, has dissapeared after i edited my new theme... the slide show still functions, but not with the 'fading' effect.

Thanks in advance!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
'ZOOM' Problem?
« Reply #4 on: October 13, 2003, 05:03:16 pm »

You definitely made errors and/or left out code when creating your theme.  It's impossible to say without comparing your code to hardwired code, and I really don't have that kind of time.  I recommend starting over and reading the readme.html file about how to create a theme.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
'ZOOM' Problem?
« Reply #5 on: October 13, 2003, 05:39:02 pm »

Here's something quick to check.  In your template.html (you said template.php but it should be template.html) do you have this line:

<script type="text/javascript" src="scripts.js"></script>

It should be between <head> and </head>.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
Thx!
« Reply #6 on: October 13, 2003, 05:46:00 pm »

Cool, many thanks to you kegobeer!

It worked, i was at my template.html, you're pretty right about that.
This problems is already resolved, now i'll keep looking for some more 'hacks' to improve my website.

BTW, what you thinked about my Template (you can be sincer).
Thanks again.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.