Ok let's tray (my in english is
no comment) his MOD will let in detail page by clicking on the button, open new fullscreen window with bigger size image
demo:
http://aletapety.pl/img-aaliyah-621-aaliyah3800x600-17464.htm click on the
in page
Step 1
Download file from the attachment ,place in your catalogue frompictures (/images)
1. open
/includes/functions.php file1.1. Find:"image_id" => $image_row['image_id'],Replace with:
"image_id" => $image_row['image_id'],
"download_full" => $download_full,
1.2. Find: $download_button = "<img src=\"".get_gallery_image("download_off.gif")."\" border=\"0\" alt=\"\" />";
Replace with:
$download_button = "<img src=\"".get_gallery_image("download_off.gif")."\" border=\"0\" alt=\"\" />";
$download_full = "<img onClick=\"window.open('" . substr(MEDIA_PATH,2) . "/" . $image_row['cat_id'] . "/" . $image_row['image_media_file'] ."','new','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=600,top=50,left=50')\" src=\"".get_gallery_image("full.gif")."\" border=\"0\" alt=\"\" />";
1.3. Find: $download_button = "<a href=\"".$site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_row['image_id'])."\"".$target."><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
Replace with:
$download_button = "<a href=\"".$site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_row['image_id'])."\"".$target."><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
$download_full = "<img onClick=\"window.open('" . substr(MEDIA_PATH,2) . "/" . $image_row['cat_id'] . "/" . $image_row['image_media_file'] ."','new','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=600,top=50,left=50')\" src=\"".get_gallery_image("full.gif")."\" border=\"0\" alt=\"\" />";
Now all you need is add {download_full} in details.html or if you want in thumbnail_bit.html