Das ist meine jpg.html:
<!-- Template file for JPG Files -->
<script language="javascript" type="text/javascript">
<!--
function fenster_bild(url, Breite, Hoehe)
{
width = Breite;
height = Hoehe;
var win;
var Parameter;
Parameter = "width=" + width + ",height=" + height;
Parameter = Parameter + ",toolbar=0,location=0,directories=0,status=0,menubar=0,"
+ "scrollbars=0,resizable=0,dependent=0";
win = window.open(url,"PictureWindow",Parameter);
}
// -->
</script>
<a href="javascript:fenster_bild('fenster_bild.php?big_image_id={big_image_id}',{width},{height});">
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /></a><br />
und das meine details.php - nur die Änderung:
//-----------------------------------------------------
//--- Show Image --------------------------------------
//-----------------------------------------------------
$image_allow_comments = (check_permission("auth_readcomment", $cat_id)) ? $image_row['image_allow_comments'] : 0;
$image_name = format_text($image_row['image_name'], 2);
show_image($image_row, $mode, 0, 1);
$in_mode = 0;
//--- Start Bild in neuem Fenster 03.03.2006 ----------------------
$big_cat_id = $image_row['cat_id'];
$big_cat_name = $image_row['cat_name'];
$big_image_id = $image_row['image_id'];
$big_image_name = $image_row['image_name'] ;
$big_image_file = $image_row['image_media_file'] ;
$site_template->register_vars(array(
"big_image_id" => $big_image_id,
"fenster_image_file_name" => $image_row['image_media_file'],
));
unset($big_image_button);
unset($fenster_image_file_name);
//--- Ende Bild in neuem Fenster 03.03.2006 ----------------------