Hoi,
ik neem de Image Size:
<?
$foto_url = "$show[foto_url]";
$foto = getimagesize($foto_url);
echo"<input type=\"button\" value=\"Plaatje\" onclick=\"window.open('$foto_url','Foto_Popup','width=$foto[0],height=$foto[1],directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');return false\">";
?>
Dat werkt, alleen moet bij WIDTH & HEIGHT allebei 20 bij komen. Hoe doe ik dat?
ik neem de Image Size:
<?
$foto_url = "$show[foto_url]";
$foto = getimagesize($foto_url);
echo"<input type=\"button\" value=\"Plaatje\" onclick=\"window.open('$foto_url','Foto_Popup','width=$foto[0],height=$foto[1],directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');return false\">";
?>
Dat werkt, alleen moet bij WIDTH & HEIGHT allebei 20 bij komen. Hoe doe ik dat?