Login   Register  
PHP Classes
elePHPant
Icontem

File: display.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alf-Red  >  Thumbnails  >  display.php  >  Download  
File: display.php
Role: Auxiliary script
Content type: text/plain
Description: display the image
Class: Thumbnails
Display thumbnails of image files from a directory
Author: By
Last change:
Date: 9 years ago
Size: 445 bytes
 

Contents

Class file image Download
<?php

$img 
$_GET['img'] ;
$lon $_GET['lon'] ;
$lar $_GET['lar'] ;

print(
"<html><title>" $img "</title><body onBlur=\"window.close()\">") ;

print(
"<div id='Layer1' style='position:absolute; width:" $lon "px; height:" $lar "px; z-index:1; left: 0; top: 0'> ") ;

print(
"<a href='#' onClick=\"window.close()\"><img src='" $img "' border='0' title='Click to close'></a>") ;

print(
"</div></body></html>") ;

?>