salve
vorrei inserire un'immagine di caricamento pagina oppure un semplice testo che scompaia quando viene visualizzata l'immagine che ha un id preso dal database, ho provato e cercato vari suggerimenti sul forum ma non sono riuscito ad implementarne uno con successo, potete aiutarmi ?? grazie
codice:
<?php require_once( "resize.php" ); ?>
<?php
$height = $_GET['height']-110;
$margin = $height/2;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
html, body { padding:0; margin:0; height:100%; text-align:center; }
div { height:<?php echo $height; ?>px; width:100%; text-align:center; position:relative; top:50%; margin-top:-<?php echo $margin; ?>px; }
img{ border:solid 0px #000000;}
</style>
</head>
<body>
<div>
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1298135281487
ob_start();
?>
[img]public/<?php echo $_GET['img']; ?>[/img]" />
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "public/", "proportion", "", false));
} // End Cached Resized Image: ImageCacheInstance_1298135281487
?>
</div>
</body>
</html>