Cant open up the full picture Cant open up the full picture
 

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

Main Menu

Cant open up the full picture

Started by heidurmaria, September 28, 2009, 06:25:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

heidurmaria

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?

Joe Carver

#1
Have you modified your theme?

The link shows

<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


heidurmaria


Joe Carver

So yes, the theme has been modified.

The link:
$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:
// 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:
    return template_eval($template_display_media, $params);
}

Joe Carver

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

heidurmaria

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

Joe Carver

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

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.

Joe Carver

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.