Since nukephotogallery is not worikng I'm posting here but i'm not so sure it's nuke related problem.
It seems that URL parameter is not correctly passed to IE, Mozilla/Opera opens popup correctly.
In popup window image location for ie is:
http:///gallery/image.jpg
and for Mozilla/Opera:
http://www.sitename.com/gallery.jpg
Or i made an mistake configuring coppermine?
Anyway, its cpg 1.3.0 (i'll try upgrade it to 1.3.2 later today) and its located at http://www.nacionalnaklasa.com/coppermine.phtml and this issue applys to all images/albums.
Thanks, Nemanja.
Since i needed prompt action to make things work, i've made cpg work but it's not a proper solution. Anyway, this is piece of code that is not working properly with IE in my case (PostNuke .750RC3 and Coppermine for CMS v1.30).
<?php
if (isset($picfile)) {
$picname = $CONFIG['fullpath'] . $picfile;
$imagesize = @getimagesize($picname);
echo "<img src=\"" . path2url($picname) . "\" $imagesize[3] class=\"image\" border=\"0\" alt=\"$picfile\"/><br />\n";
} elseif (isset($pid)) {
$result = db_query("SELECT * from {$CONFIG['TABLE_PICTURES']} where pid='$pid'");
$row = mysql_fetch_array($result);
$pic_url = get_pic_url($row, 'fullsize');
$geom = 'width="' . $row['pwidth'] . '" height="' . $row['pheight'] . '"';
print '<img src="' . $pic_url . '" ' . $geom . ' class="image" border="0" alt="' . $lang_fullsize_popup["click_to_close"] . '">';
}
?>
and last line works fine if i hardcode site name...
print '<img src="http://www.nacionalnaklasa.com/' . $pic_url . '" ' . $geom . ' class="image" border="0" alt="' . $lang_fullsize_popup["click_to_close"] . '">';
It would be probably wise to use something like $MAIN_CFG['server']['domain'] instead of hardcoded value (or some other value, i didnt had time to play around since i'm at work :))
best of luck, Nemanja.
Coppermine for cms is not the same as the application we supply and support, which is the standalone version of coppermine. The code differs from ours.
But when you do post code changes, here or on any forum, please specify which file you are talking about.
I thought i did write filename... it's "displayimagepopup.php".
PS. I didn't know code is different, i thought that core code is the same... If i knew that i probably wouldnt use this gallery. >:(
That file does not even exist in coppermine standalone, so there is little we can do to help you Ii'm afraid.