⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gallerynullresizer.class.php

📁 一个用PHP编写的
💻 PHP
字号:
<?php	lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );	/**	 * \ingroup Gallery_resizer	 *     * This class is a thumbnail generator that does not generate thumbnails :) The purpose     * of it (it has to have one, right? :)) is that if none of the other methods are     * available (gd, imagemagick) at least we can "simulate" thumbnails by using the     * with and height attributes of the img tag. In order to do that, this class     * will not calculate the reduced image but simply return it as it... Well, at least it'll     * be the fastest thumbnail method around ;)     */	class GalleryNullResizer extends GalleryAbstractResizer 	{        /**         * Constructor.         * @see GalleryAbstractResizer         */        function GalleryNullResizer( $image, $outputMethod )        {        	$this->GalleryAbstractResizer( $image, $outputMethod );        }        /**		 * @see GalleryResizer::generate()         */        function generate( $outFile, $width, $height )        {        	return $this->_image;        }    }?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -