[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 bmz_image_handler_conf.php

Zen Cart 源代码 bmz_image_handler_conf.php




下载文件

文件名: bmz_image_handler_conf.php
文件类型: PHP文件
文件大小: 1.31 KiB
MD5: 785595210fdf813a9b473c5525ced0e5

bmz_image_handler_conf.php - 关闭高亮
  1. <?php
  2. /**
  3.  * bmz_image_handler_conf.php
  4.  * additional configuration entries for image handler
  5.  *
  6.  * @author  Tim Kroeger <tim@breakmyzencart.com>
  7.  * @copyright Copyright 2005-2006 breakmyzencart.com
  8.  * @license http://www.gnu.org/licenses/gpl.txt GNU General Public License V2.0
  9.  * @version $Id: bmz_image_handler_conf.php,v 1.6 2006/04/17 18:22:45 tim Exp $
  10.  */
  11.  
  12. $ihConf['noresize_key']         = 'noresize';         //files which contain this string will not be resized
  13. $ihConf['noresize_dirs']        = array('noresize', 'banners'); //images in directories with these names within the images directory will not be resized.
  14. $ihConf['trans_threshold']      = '90%';              //this is where semitransparent pixels blend to transparent when rendering gifs with ImageMagick
  15. $ihConf['im_convert']           = '';                 //if you want to use ImageMagick, you must specify the convert binary here (e.g. '/usr/bin/convert')
  16. $ihConf['gdlib']                = 2;                  //the GDlib version (0, 1 or 2) 2 tries to autodetect
  17. $ihConf['allow_mixed_case_ext'] = false;              //allow files with mixed case extensions like 'Jpeg'. This costs some time for every displayed image. It's better to just use lower case extensions
  18. $ihConf['default']['bg']        = 'transparent 255:255:255';
  19. $ihConf['default']['quality']   = 85;