PHP Classes

File: besureofsize.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP Mnemonic Secret Path Login   besureofsize.php   Download  
File: besureofsize.php
Role: Auxiliary script
Content type: text/plain
Description: auxilliary script
Class: PHP Mnemonic Secret Path Login
Detect human users telling to click on page places
Author: By
Last change:
Date: 6 years ago
Size: 318 bytes
 

Contents

Class file image Download
<?php

                       
foreach($ar as $k=>$v){
                           
$size=getimagesize($v);
                            if(
$size[0]>400||$size[1]>400){
                               
$img = new image_sizer();
                               
$img->setImage($v);
                               
$img->setSize(400, 400);
                               
$img->saveTo($v, 100);
                            }
                                echo
' <img src="'.$v.'" class="preview" />';
                        }
?>