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

Title: Cant open up the full picture
Post 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?
Title: Re: Cant open up the full picture
Post by: Joe Carver 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

Title: Re: Cant open up the full picture
Post by: heidurmaria on September 28, 2009, 07:07:22 pm
What is the standard link?
Title: Re: Cant open up the full picture
Post by: Joe Carver 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);
}
Title: Re: Cant open up the full picture
Post by: Joe Carver 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?
Title: Re: Cant open up the full picture
Post by: heidurmaria 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
Title: Re: Cant open up the full picture
Post by: Joe Carver 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


Title: Re: Cant open up the full picture
Post by: heidurmaria 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.
Title: Re: Cant open up the full picture
Post by: Joe Carver 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.