예제 #1
0
function image_h($path, $height)
{
    return ImagePicker::get_image_by_height($path, $height);
}
예제 #2
0
<tr>
    <td align="center"><a target="_immagine_gallery" href="<?php 
echo $path;
?>
"><img border="0px" alt="Immagine gallery" src="<?php 
echo ImagePicker::get_image_by_height($path, 50);
?>
" title="<?php 
echo $name;
?>
" /></a></td>
    <td><?php 
echo $name;
?>
</td>
    <td>
        <!-- comandi per immagine -->
        <form action="/actions/gallery/delete_image.php" method="post" onsubmit="return window.confirm('Sei sicuro di voler cancellare questa immagine??');">
            <input type="hidden" name="image_name" value="<?php 
echo $name;
?>
" />
            <input type="submit" name="Elimina" value="Elimina" />
            <?php 
Form::after("/admin/gallery/modifica_immagini.php");
?>
        </form>
    </td>
</tr>