first, add to the header part of view.php:
<!--
/*
Full Screen Window Opener Script-
Š Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function fullwin(targeturl){
window.open(targeturl,"","fullscreen,scrollbars")
}
//-->
</script>
second, add directly after the dispsize - form:
// andre patch - fullscreen
print "<form>\n";
print "<input type=\&quot;button\&quot; onClick=\&quot;fullwin('";
print "view.php?album=".
$album ."&pic=" .$pic . "&start=" .
$start . "&picindex=" . $picindex . "&user=" .
$username;
print "')\&quot; value=\&quot;FullScreen\&quot;>\n";
print "</form>";
i found the feature usefull especially when dealing
with huge images / when the album is integrated in
frames of a webpage. so the user has a chance to
escape frames and watch pics in fullscreen mode. and
yes its hatefull javascript, but this javascript works
with ALL browsers 100%