Found a total of 10000 related content
PHP generates thumbnails PHP generates thumbnail class code
Article Introduction:php generates thumbnails: php generates thumbnails php generates thumbnails class code: <?php /** * Function: Generate thumbnails* Author: phpox * Date: Thu May 17 09:57:05 CST 2007 */ class CreatMiniature { //Public variable var $srcFile=""; //Original image var $echoType; //Output image type, link--not saved as a file; file--saved as a file var $im=""; //Temporary Variablevar $src
2016-07-29
comment 0
803
Generate thumbnails PHP code to batch generate thumbnails
Article Introduction:Generate thumbnails: Generate thumbnails PHP code for batch generating thumbnails: Disadvantages: Pictures of different lengths and widths will be stretched and deformed, and cannot be intelligently cropped. If you need intelligent cropping, please do your own research. <?php $config = array(); $config['path'] = "./"; $config['t_width'] = 120; $config['t_height'] = 98; $config['ignore'] = array("",".",".."); $config['pre
2016-07-29
comment 0
952
PHP generates thumbnails. PHP code with good compatibility to generate thumbnails.
Article Introduction:PHP generates thumbnails: PHP generates thumbnails with good compatibility. PHP generates thumbnails code: Copy the code as follows: function ImageResize($srcFile,$toW,$toH,$toFile="") { if($toFile= =""){ $toFile = $srcFile; } $info = ""; $data = GetImageSize($srcFile,$info); switch ($data[2]) { case 1: if(!function_exists
2016-07-29
comment 0
829
png picture php code to generate text png picture
Article Introduction:png picture: png picture php code to generate text png picture: Copy the code as follows: <? /* PHP generates text png picture, you can use the following method to call the function: http://www.yourdomian.com/text_png.php3?msg =helloworld+class&rot=15&size=48&f/ARIAL.TTF */ Header("Content-type: image/png"); class textPNG { var $font =
2016-07-29
comment 0
1465