Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
@@ -2,22 +2,14 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-10 14:03:20 +0100 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 22 $
|
||||
@@ -407,7 +399,7 @@ class class_image
|
||||
{
|
||||
$thumb = @imagecreatetruecolor( $im['img_width'], $im['img_height'] );
|
||||
|
||||
if( $this->image_type == 'png' )
|
||||
if( $this->image_type == 'png' OR $this->image_type == 'gif' )
|
||||
{
|
||||
@imagealphablending( $thumb, FALSE );
|
||||
@imagesavealpha( $thumb, TRUE );
|
||||
@@ -434,7 +426,7 @@ class class_image
|
||||
$this->out_file_name = preg_replace( "/^(.*)\..+?$/", "\\1", $this->in_file_name ) . '_thumb';
|
||||
}
|
||||
|
||||
if ( function_exists( 'imagepng' ) AND $this->image_type == 'png' )
|
||||
if ( function_exists( 'imagepng' ) AND ($this->image_type == 'png' OR $this->image_type == 'gif') )
|
||||
{
|
||||
$this->file_extension = 'png';
|
||||
@imagepng( $thumb, $this->out_file_dir."/".$this->out_file_name.'.png' );
|
||||
@@ -513,6 +505,7 @@ class class_image
|
||||
{
|
||||
if ( $this->out_type == 'file' )
|
||||
{
|
||||
//$return['thumb_location'] = $this->in_file_name;
|
||||
$return['thumb_width'] = $img_size[0];
|
||||
$return['thumb_height'] = $img_size[1];
|
||||
$return['original_width'] = $img_size[0];
|
||||
|
||||
Reference in new issue
Block a user