PHP interesse |
|
<?php
$foto = "Blends/Blend7.jpg";// Zelf aanpassen
$size = GetImageSize("$foto");
$size[0] = $size[0] + 20;
$size[1] = $size[1] + 25;
$file_size=fileSize("$foto");
$file_size = round($file_size / 1000) . "k";
echo ("<td><a href=\"#\" onmouseover=\"window.status='Bekijk $foto groot';return true;\"
onmouseout=\"window.status=''; return true\"
onclick=\"window.open('$foto','pix$count','width=$size[0],height=$size[1],innerwidth=$size[0],innerheight=$size[1],directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,top=0,left=0,leftmargin=0,topmargin=0,marginwidth=0,marginheight=0,screenX=0,screenY=0');return false\"><img src='$foto'");
echo " border=0 alt=$count height=$t_h style=\"border: 1 solid #000000\"></a></td>\n";
?>
<?php $foto = "Blends/Blend7.jpg";// Zelf aanpassen $size[0] = $size[0] + 20; $size[1] = $size[1] + 25; $file_size = round($file_size / 1000) . "k"; echo ("<td><a href=\"#\" onmouseover=\"window.status='Bekijk $foto groot';return true;\" onmouseout=\"window.status=''; return true\" onclick=\"window.open('$foto','pix$count','width=$size[0],height=$size[1],innerwidth=$size[0],innerheight=$size[1],directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,top=0,left=0,leftmargin=0,topmargin=0,marginwidth=0,marginheight=0,screenX=0,screenY=0');return false\"><img src='$foto'"); echo " border=0 alt=$count height=$t_h style=\"border: 1 solid #000000\"></a></td>\n"; ?>
Zo moet het gaan denk. |