Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Cant open up the full picture  (Read 4972 times)

0 Members and 1 Guest are viewing this topic.

heidurmaria

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Cant open up the full picture
« on: September 28, 2009, 06:25:33 pm »

I'm having some problems with one of my galleries. When you try clicking on the picture to get the full one up it doesn't work. It's like the picture isnt a link or something like that.
http://jessica-capshaw.com/gallery/displayimage.php?album=242&pos=2
Is there an easy way to fix this?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Cant open up the full picture
« Reply #1 on: September 28, 2009, 06:50:26 pm »

Have you modified your theme?

The link shows
Code: [Select]
<object id="DefaultPlayer" width="240" height="400"><param name="autostart" .............
Which is not the standard link for a full-size js pop-up

If so then you might want to re-check what you have modified

« Last Edit: September 28, 2009, 06:57:24 pm by i-imagine »
Logged

heidurmaria

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Cant open up the full picture
« Reply #2 on: September 28, 2009, 07:07:22 pm »

What is the standard link?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Cant open up the full picture
« Reply #3 on: September 28, 2009, 07:25:04 pm »

So yes, the theme has been modified.

The link:
Code: [Select]
$pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
Is part of what you probably modified and possibly corrupted.

From sample/theme.php:
Code: [Select]
// Displays a picture
function theme_html_picture()
{

This function must be edited with care and added as a complete function all the way through to it's end:
Code: [Select]
    return template_eval($template_display_media, $params);
}

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Cant open up the full picture
« Reply #4 on: September 28, 2009, 07:32:15 pm »

Sorry, I failed to see the Modded. by Stramm - have you properly applied that mod, is it the latest modpack?

heidurmaria

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Cant open up the full picture
« Reply #5 on: September 28, 2009, 09:12:08 pm »

Where can I find this link that I've messed up? You say in the theme but I cant seem to find it.
I have the same theme up at another website and it seems to work there fine. I also have Stramm on both sites, I put them up the same way and it works there. www.annaleigh-ashford.com/gallery
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Cant open up the full picture
« Reply #6 on: September 28, 2009, 09:37:39 pm »

2nd gallery link needs password - nice  ???

So if you didn't have that in your theme I then checked your gallery like this:

http://jessica-capshaw.com/gallery/index.php?theme=classic

The problem persisted.
That leads me to believe that you have somehow made changes/edits to file: include/themes.inc.php.

That file should not be edited/changed - upload a clean copy


heidurmaria

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Cant open up the full picture
« Reply #7 on: September 28, 2009, 09:54:39 pm »

Sorry about that. Fixed the password thing.

I tried uploading a clean copy from just the regular coppermine download, the gallery couldnt be viewed. I upload a clean copy from stramm and the gallery came back, but the problem is still there.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Cant open up the full picture
« Reply #8 on: September 28, 2009, 10:30:39 pm »

If you are certain that these files are:
The same versions
+ are from the same sources
+ were installed/upgraded the same way

I just don't know. At the moment I can't contribute as I know little to nothing about the Modpack by Stramm.

You could try comparing each with Winmerge or Notepad++.

Perhaps this might be related to some of your other posted issues with the Modpack by Stramm.


Pages: [1]   Go Up
 

Page created in 0.036 seconds with 20 queries.