forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: heidurmaria 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?
-
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
-
What is the standard link?
-
So yes, the theme has been modified.
The link:
$pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&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);
}
-
Sorry, I failed to see the Modded. by Stramm - have you properly applied that mod, is it the latest modpack?
-
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
-
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
-
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.
-
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.