4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: V@no on March 22, 2005, 11:54:42 PM

Title: [MOD] Auto-Image Resizer v2.1
Post by: V@no on March 22, 2005, 11:54:42 PM
This is an enhanced version of default admin/resizer.php (which was lost long before the hack 8O)

(http://img211.exs.cx/img211/8303/resizer0vl.png)

---------- [ New features ] ---------


---------- [ Installation ] ---------
1) Backup admin/resizer.php
2) Download attached (#post_attachment) package
3) Unzip it and upload new resizer.php into admin/ folder


---------- [ Version history ] -----------

v2.1
    Dont know what was changed :)

v2
    First release
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: M@2T on May 15, 2005, 10:07:14 PM
Great mod v@no  :D

Im curious, I want to resize the image file size...ie save it with a better compression, but not effect the size (dimentions) of the image. Is this poss?

I have many images which are using much to much bandwith due to silly compression levels, resaving would sovle this.

Many Thanks
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: Fastian on July 16, 2005, 03:37:32 AM
Hi V@no,

Is that possible that using this file, while doing resize. Original image can be saved in "big" directory. Something like that we do while using “Check new images in ALL categories v2.10.4”

Its important coz since I m using “alternate directory” mod. There is no way I can resize a picture which has been uploaded by a user.

Oopsss.. Sorry I didnt notice that it already does so. I m just not able to download the file from "big" folder.
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: TIMT on April 16, 2006, 06:54:14 PM
Hi V@no

This MOD ist very important for me. Unfortunately the EFIX-Information are lost after resizing the picture.

How can I resize pictures without loosing the EFIX-Informations?

Thanks for helping me.

TIMT
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: TIMT on April 17, 2006, 03:58:46 PM
Hi

I use now ImageMagick and the EXIF information can be shown after resizing the image.

http://www.4homepages.de/forum/index.php?topic=12609.msg67600#msg67600

Thanks!

Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: Jockl on June 30, 2006, 05:57:33 PM
Can me someone help me with this mod?

I don't want to save the original images in a "big" folder.

what do i have to do to change the code for that?

thx
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: V@no on July 01, 2006, 12:29:50 AM
replace
Code: [Select]
if ($sql_image_type == "image_media_file") {
with:
Code: [Select]
if ($sql_image_type == "image_media_file_") {
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: blackmetal on November 03, 2006, 10:12:23 AM
plz re-upload!
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: Acidgod on November 03, 2006, 10:18:36 AM
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: resizer.php                                          *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.7                                                  *
 *    File Version: 2.1 (by V@no)                                         *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

$nozip 1;
define('IN_CP'1);
define('ROOT_PATH''./../');
require(
'admin_global.php');
require(
ROOT_PATH.'includes/image_utils.php');

if (
$action == "") {
  
$action "selectoptions";
}

show_admin_header();

$convert_options init_convert_options();
if (
$convert_options['convert_error']) {
  echo 
$convert_options['convert_error'];
  
show_admin_footer();
  exit;
}

if (
$action == "resizeimages") {
  
$path = ($HTTP_POST_VARS['image_type'] == "media") ? MEDIA_PATH THUMB_PATH;
  
$sql_image_type = ($HTTP_POST_VARS['image_type'] == "media") ? "image_media_file" "image_thumb_file";
  
$dimension = (isset($HTTP_POST_VARS['dimension'])) ? intval($HTTP_POST_VARS['dimension']) : 200;
  
$resize_type = (isset($HTTP_POST_VARS['resize_type'])) ? intval($HTTP_POST_VARS['resize_type']) : 1;
  
$quality = (isset($HTTP_POST_VARS['quality']) && intval($HTTP_POST_VARS['quality']) && intval($HTTP_POST_VARS['quality']) <= 100) ? intval($HTTP_POST_VARS['quality']) : 100;
  
$image_list = (isset($HTTP_POST_VARS['image_list'])) ? $HTTP_POST_VARS['image_list'] : "";
  
$image_dimensions = (isset($HTTP_POST_VARS['image_dimensions'])) ? $HTTP_POST_VARS['image_dimensions'] : "";

  if (!empty(
$image_list)) {
    
$image_id_sql "";
    foreach (
$image_list as $key => $val) {
      if (
$val == 1) {
        
$image_id_sql .= (($image_id_sql != "") ? ", " "" ).$key;
      }
    }

    
$sql "SELECT image_id, cat_id, $sql_image_type
            FROM "
.IMAGES_TABLE."
            WHERE image_id IN(
$image_id_sql)";
    
$result $site_db->query($sql);

    
$image_cache = array();
    while (
$row $site_db->fetch_array($result)) {
      
$image_cache[$row['image_id']] = $row;
    }

    foreach (
$image_list as $key => $val) {
      if (
$val == 1) {
        echo 
"<p>".$lang['resizing_image']."<b>".$image_cache[$key][$sql_image_type]."</b> (".$image_dimensions[$key].") ....&nbsp;&nbsp;\n";
        
flush();
        @
set_time_limit(90);

if ($sql_image_type == "image_media_file") {
  $src $path."/".$image_cache[$key]['cat_id']."/big";
$result true;
  if (!@is_dir($src)) {
    $oldumask umask(0);
    $result mkdir($src);
    umask($oldumask);
    if (!@is_dir($src) || !$result) {
      $result mkdir($src0755);

    }
  }
if ($result == true){
copy($path."/".$image_cache[$key]['cat_id']."/".$image_cache[$key][$sql_image_type], $src."/".$image_cache[$key][$sql_image_type]);
}
}

        if (
resize_image($path."/".$image_cache[$key]['cat_id']."/".$image_cache[$key][$sql_image_type], $quality$dimension$resize_type)) {
          echo 
"<br />&nbsp;&nbsp;&nbsp;<b>".$lang['resizing_image_success']."</b><p>";
        }
        else {
          echo 
"<br />&nbsp;&nbsp;&nbsp;<b class=\"marktext\">".$lang['resizing_image_error']."</b><p>";
        }
      }
    }
  }
  else {
    echo 
"<b>Just relaxing because you give me nothing to do!</b>";
  }
}

if (
$action == "selectoptions") {
  
show_form_header("resizer.php""selectoptions");
  
show_table_header($lang['resize_images'], 2);
$cat_id = (isset($HTTP_POST_VARS['cat'])) ? intval($HTTP_POST_VARS['cat']) : 0;

$category "\n<select name=\"cat\" class=\"categoryselect\">\n";
$category .= "<option value=\"0\">".$lang['all_categories']."</option>\n";
$category .= "<option value=\"0\">-------------------------------</option>\n";
$drop_down_cat_cache = array();
$drop_down_cat_cache $cat_parent_cache;
$category .= get_category_dropdown_bits($cat_id);
$category .= "</select>\n";

  
$image_type = (isset($HTTP_POST_VARS['image_type'])) ? trim($HTTP_POST_VARS['image_type']) : "media";

  
$select_image_type "<select name=\"image_type\">";
  
$select_image_type .= "<option value=\"media\"";
  if (
$image_type == "media") {
    
$select_image_type .= " selected";
  }
  
$select_image_type .= ">".$lang['resize_image_files']."</option>";
  
$select_image_type .= "<option value=\"thumb\"";
  if (
$image_type == "thumb") {
    
$select_image_type .= " selected";
  }
  
$select_image_type .= ">".$lang['resize_thumb_files']."</option>";
  
$select_image_type .= "</select>";

  
show_custom_row("Category"$category);
  
show_custom_row($lang['resize_image_type_desc'], $select_image_type);

  
$dimension = (isset($HTTP_POST_VARS['dimension'])) ? intval($HTTP_POST_VARS['dimension']) : 800;
  
$resize_type = (isset($HTTP_POST_VARS['resize_type'])) ? intval($HTTP_POST_VARS['resize_type']) : 1;
  
$quality = (isset($HTTP_POST_VARS['quality']) && intval($HTTP_POST_VARS['quality']) && intval($HTTP_POST_VARS['quality']) <= 100) ? intval($HTTP_POST_VARS['quality']) : 85;

  
$num_newimages = (isset($HTTP_POST_VARS['num_newimages']) && intval($HTTP_POST_VARS['num_newimages'])) ? intval($HTTP_POST_VARS['num_newimages']) : 20;

  
show_input_row($lang['resize_dimension_desc'], "dimension"$dimension);

  
$resize_type_1_checked = ($resize_type == 1) ? " checked=\"checked\"" "";
  
$resize_type_2_checked = ($resize_type == 2) ? " checked=\"checked\"" "";
  
$resize_type_3_checked = ($resize_type == 3) ? " checked=\"checked\"" "";

  
$resize_type_radios "<input type=\"radio\" name=\"resize_type\" value=\"1\"".$resize_type_1_checked."> ".$lang['resize_proportionally']."<br />";
  
$resize_type_radios .= "<input type=\"radio\" name=\"resize_type\" value=\"2\"".$resize_type_2_checked."> ".$lang['resize_fixed_width']."<br />";
  
$resize_type_radios .= "<input type=\"radio\" name=\"resize_type\" value=\"3\"".$resize_type_3_checked."> ".$lang['resize_fixed_height']."<br />";
  
show_custom_row($lang['resize_proportions_desc'], $resize_type_radios);

  
show_input_row($lang['resize_quality_desc'], "quality"$quality);
  
show_input_row($lang['num_newimages_desc'], "num_newimages"$num_newimages);
  
show_form_footer($lang['resize_check'], "");
  echo 
"</form>";
}

if (isset(
$HTTP_POST_VARS['action']) && $action == "selectoptions") {

  
$path = ($HTTP_POST_VARS['image_type'] == "media") ? MEDIA_PATH THUMB_PATH;
  
$sql_image_type = ($HTTP_POST_VARS['image_type'] == "media") ? "image_media_file" "image_thumb_file";
  
$dimension = (isset($HTTP_POST_VARS['dimension'])) ? intval($HTTP_POST_VARS['dimension']) : 200;
  
$quality = (isset($HTTP_POST_VARS['quality'])) ? intval($HTTP_POST_VARS['quality']) : 75;
$condition = ($cat_id) ? " WHERE cat_id = $cat_id ORDER BY image_name ASC" "";

  
$sql "SELECT image_id, image_name, cat_id, image_media_file, image_thumb_file
          FROM "
.IMAGES_TABLE.$condition;
  
$result $site_db->query($sql);
  
$imgs "";
  if (
$result) {
    
$bgcounter 0;
    
$image_counter 0;
    while (
$image_row $site_db->fetch_array($result)) {
      if (!empty(
$image_row[$sql_image_type]) && file_exists($path."/".$image_row['cat_id']."/".$image_row[$sql_image_type])) {
        if (!
$image_info getimagesize($path."/".$image_row['cat_id']."/".$image_row[$sql_image_type])) {
          continue;
        }
        if (
$image_info[2] == || $image_info[2] == || $image_info[2] == 3) {
          
$ok 0;
          if (
$resize_type == && ($image_info[0] > $dimension || $image_info[1] > $dimension)) {
            
$ok 1;
          }
          elseif (
$resize_type == && $image_info[0] > $dimension) {
            
$ok 1;
          }
          elseif (
$resize_type == && $image_info[1] > $dimension) {
            
$ok 1;
          }
          if (
$ok) {
$thumb "<img src=\"".((empty($image_row['image_thumb_file'])) ? ICON_PATH."/".get_file_extension($image_row['image_media_file']).".gif" : (((is_remote($image_row['image_thumb_file'])) ? ((remote_file_exists($image_row['image_thumb_file'], 1)) ? $image_row['image_thumb_file'] : ICON_PATH."/404.gif") : ((file_exists(ROOT_PATH.THUMB_DIR."/".$image_row['cat_id']."/".$image_row['image_thumb_file'])) ? ROOT_PATH.THUMB_DIR."/".$image_row['cat_id']."/".$image_row['image_thumb_file'] : ICON_PATH."/404.gif"))))."\" width=\"40\" height=\"40\" border=\"1\" alt=\"\" /><b>&nbsp;&nbsp;".$image_row['image_name']."</b>";
            
$imgs .= "<tr class=\"".get_row_bg()."\">";
            
$imgs .= "<td><input type=\"checkbox\" name=\"image_list[".$image_row['image_id']."]\" value=\"1\" checked=\"checked\"></td>\n";
            
$imgs .= "<td><a href=\"../details.php?".URL_IMAGE_ID."=".$image_row['image_id']."\" target=\"_blank\">".$thumb."</a></td>\n";
            
$imgs .= "<td><b>".$image_row[$sql_image_type]."</b></td>\n";
    
$imgs .= "<td><a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$image_row['cat_id'])."\" target=\"_blank\">".htmlspecialchars($cat_cache[$image_row['cat_id']]['cat_name'])."&nbsp;&nbsp;[ID: <b>".$image_row['cat_id']."</b>]</a></td>\n";
            
$imgs .= "<td>".$image_info[0]."x".$image_info[1]."</td>";

            
$width_height get_width_height($dimension$image_info[0], $image_info[1], $resize_type);

            
$imgs .= "<td>".$width_height['width']."x".$width_height['height']."</td>";
            
$imgs .= "<td>".$quality."</td>";
            
$imgs .= "</tr>\n";
            
$imgs .= "<input type=\"hidden\" name=\"image_dimensions[".$image_row['image_id']."]\" value=\"".$image_info[0]."x".$image_info[1]."\">";
            
$image_counter++;
          }
        }
      }
      if (
$image_counter == $num_newimages) {
        break;
      }
    }
  }
  if (empty(
$imgs)) {
    echo 
"<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td class=\"tableborder\">\n<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n";
    
$bgcounter 0;
    
show_description_row($lang['no_search_results']);
    
show_table_footer();
  }
  else {
    
show_form_header("resizer.php""resizeimages""form");
    
show_hidden_input("image_type"$image_type);
    
show_hidden_input("dimension"$dimension);
    
show_hidden_input("resize_type"$resize_type);
    
show_hidden_input("quality"$quality);
    echo 
"<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td class=\"tableborder\">\n<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\">\n";
$image_type = ($image_type == "media") ? "field_image_file" "field_thumb_file";
    echo 
"<tr class=\"tableseparator\">\n<td class=\"tableseparator\">\n<input name=\"allbox\" type=\"checkbox\" onClick=\"CheckAll();\" checked=\"checked\">\n</td>\n<td class=\"tableseparator\">".$lang['image_name']."</td>\n<td class=\"tableseparator\">".$lang[$image_type]."</td>\n<td class=\"tableseparator\">".$lang['category']."</td>\n<td class=\"tableseparator\">".$lang['resize_org_size']."</td>\n<td class=\"tableseparator\">".$lang['resize_new_size']."</td>\n<td class=\"tableseparator\">".$lang['resize_new_quality']."</td>\n</tr>\n";
    echo 
$imgs;
    
show_form_footer($lang['resize_start'], ""5);
  }
}
show_admin_footer();
?>

Bidde... *g*
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: blackmetal on November 03, 2006, 10:51:36 AM
tanx
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: SagaatHome on November 06, 2006, 03:20:51 PM
Ich bekomme jedes mal nach dem umwandeln einiger bilder meist nach 15-17 Bildern den Fehler -> Fatal error: Maximum execution time of 30 seconds exceeded in /is/htdocs/wpxxxxxxx_DFXHXXKVKH/www/4images/includes/image_utils.php on line 82 egal wieviele eingestellt sind. sc :

function resize_image_gd($src, $dest, $quality, $width, $height, $image_info) {
  global $convert_options;

  $types = array(1 => "gif", 2 => "jpeg", 3 => "png");
  if ($convert_options['convert_gd2']) {
    $thumb = imagecreatetruecolor($width, $height);
  }
  else {
    $thumb = imagecreate($width, $height);
  }
  $image_create_handle = "imagecreatefrom".$types[$image_info[2]];
  if ($image = $image_create_handle($src)) {
    if ($convert_options['convert_gd2']) {
      imagecopyresampled($thumb, $image, 0, 0, 0, 0, $width, $height, ImageSX($image), ImageSY($image)); <- Line 82
    }
    else {
      imagecopyresized($thumb, $image, 0, 0, 0, 0, $width, $height, ImageSX($image), ImageSY($image));
    }

    if ($image_info[2] == 3) {
      $quality = 9;
    }

    $image_handle = "image".$types[$image_info[2]];
    $image_handle($thumb, $dest, $quality);
    imagedestroy($image);
    imagedestroy($thumb);
  }
  return (file_exists($dest)) ? 1 : 0;
}

function resize_image_im($src, $dest, $quality, $width, $height, $image_info) {
  global $convert_options;

  $command = $convert_options['convert_path']." -quality ".$quality." -antialias -sample $width"."x"."$height \"$src\" \"$dest\"";
  system($command);
  return (file_exists($dest)) ? 1 : 0;
}

function resize_image_netpbm($src, $dest, $quality, $width, $height, $image_info) {
  global $convert_options;

  $convert_path = $convert_options['convert_path'];
  $types = array(1 => "gif", 2 => "jpeg", 3 => "png");
  $target = ($width > $height) ? $width : $height;
  $command = $convert_path."/".check_executable($types[$image_info[2]]."topnm")." ".$src." | ".$convert_path."/".check_executable("pnmscale")." --quiet -xysize ".$target." ".$target." | ";
  if ($image_info[2] == 1) {
    $command .= $convert_path."/".check_executable("ppmquant")." 256 | " . $convert_path."/".check_executable("ppmtogif")." > ".$dest;
  }
  elseif ($image_info[2] == 3) {
    $command .= $convert_path."/".check_executable("pnmtopng")." > ".$dest;
  }
  else {
    $jpeg_exec = (file_exists($convert_path."/".check_executable("pnmtojpeg"))) ? check_executable("pnmtojpeg") : check_executable("ppmtojpeg");
    $command .= $convert_path."/".$jpeg_exec." --quality=".$quality." > ".$dest;
  }
  system($command);
  return (file_exists($dest)) ? 1 : 0;
}

function get_width_height($dimension, $width, $height, $resize_type = 1) {
  if ($resize_type == 2) {
    $new_width = $dimension;
    $new_height = floor(($dimension/$width) * $height);
  }
  elseif ($resize_type == 3) {
    $new_width = floor(($dimension/$height) * $width);
    $new_height = $dimension;
  }
  else {
    $ratio = $width / $height;
    if ($ratio > 1) {
      $new_width = $dimension;
      $new_height = floor(($dimension/$width) * $height);
    }
    else {
      $new_width = floor(($dimension/$height) * $width);
      $new_height = $dimension;
    }
  }
  return array("width" => $new_width, "height" => $new_height);
}

function create_thumbnail($src, $dest, $quality, $dimension, $resize_type) {
  global $convert_options;

  if (file_exists($dest)) {
    @unlink($dest);
  }
  $image_info = (defined("IN_CP")) ? getimagesize($src) : @getimagesize($src);
  if (!$image_info) {
    return false;
  }
  $width_height = get_width_height($dimension, $image_info[0], $image_info[1], $resize_type);
  $resize_handle = "resize_image_".$convert_options['convert_tool'];
  if ($resize_handle($src, $dest, $quality, $width_height['width'], $width_height['height'], $image_info)) {
    @chmod($dest, CHMOD_FILES);
    return true;
  }
  else {
    return false;
  }
}

function resize_image($file, $quality, $dimension, $resize_type = 1) {
  global $convert_options;
  $image_info = (defined("IN_CP")) ? getimagesize($file) : @getimagesize($file);
  if (!$image_info) {
    return false;
  }
  $file_bak = $file.".bak";
  if (!rename($file, $file_bak)) {
    return false;
  }
  $width_height = get_width_height($dimension, $image_info[0], $image_info[1], $resize_type);
  $resize_handle = "resize_image_".$convert_options['convert_tool'];
  if ($resize_handle($file_bak, $file, $quality, $width_height['width'], $width_height['height'], $image_info)) {
    @chmod($file, CHMOD_FILES);
    @unlink($file_bak);
    return true;
  }
  else {
    rename($file_bak, $file);
    return false;
  }
}
?>
Title: Brauche Hilfe bei Mod Auto Image Resizer
Post by: Muckellein on January 11, 2007, 08:41:34 PM
Hallo allerseits,

ich habe mir hier (http://www.4homepages.de/forum/index.php?topic=6978.0) den Mod Auto Image Resizer runtergeladen und daraufhin eingebaut. Der Mod verkleinert die Bilder, erstellt aber trotzdem einen Ordner big, indem sich die Originaldatei befindet. Nun möchte ich, dass beim Klick auf Download, bzw. Zip-Download die Datei im big-Ordner runtergeladen wird und nicht die verkleinerte Datei. Muss ich dafür was in der download.php ändern? Wenn ja, was?

Über Antworten wäre ich sehr dankbar,

Muckellein
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: darkcurves on January 30, 2007, 03:10:37 PM
Very useful to me. How can i sort new images first? Thanks.
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: pariofdreamz on April 26, 2007, 02:49:33 PM
pls re upload this file  :cry: :cry: i need it badly  :( :(
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: Acidgod on April 26, 2007, 03:03:54 PM
pls re upload this file  :cry: :cry: i need it badly  :( :(
http://www.4homepages.de/forum/index.php?topic=6978.msg82301#msg82301  *g*
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: TB on June 21, 2007, 11:27:53 PM
Hi,
is there any possibility to download the larger image from the "big"-folder? when I'm now using the download button, I always get the small image. It is the same problem Muckellein already mentioned - hopefully somebody can help!

-----

Gibt es eine Möglichkeit das größere Bild herunter zuladen, welches sich im "big"-ordner befindet? Immer wenn ich den Downloadbutton benutze, lade ich das verkleinerte Bild runter... Also eigentlich das gleiche Problem, was Muckellein schon angesprochen hat...
Was muss ich ändern, damit der Big-Ordner verwendet wird?
Danke im Vorraus!
Thomas
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: mawenzi on June 22, 2007, 12:40:17 AM
... gibt es, dann verwende diesen MOD ...
... MOD Alternate directory for download files by Chris ...
http://www.4homepages.de/forum/index.php?topic=7499.msg33712#msg33712
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: v28021 on June 26, 2007, 01:20:32 PM
Is it possible to edit the code of this MOD so only a compression of the image is made?
I mean, I don't want to resize the images' resolution. I just want to lower the quality of them without resizing.

Thanks in advance.
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: mawenzi on June 26, 2007, 02:09:46 PM
@v28021
APC -> Auto-Image-Resizer -> Image Quality -> ... your count of lower quality ( maybe 50 )...
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: v28021 on June 26, 2007, 03:40:17 PM
@v28021
APC -> Auto-Image-Resizer -> Image Quality -> ... your count of lower quality ( maybe 50 )...

Yes, I already know that. But I want to do that without resizing the resolution of the image.
For examle, I have got a 1000x1500 image. And I don't want to scale it down, so I put this settings:

Image file size in pixel -> 1500 (or for example a greater number so NO images are resized).

and as you said,

Image Quality -> 50

Then I cannot do it, this message appears:

Quote
No entries found.

It seems that the mod cannot compress the image quiality without resizing it. Did I make myself clear?

Thanks for replying mawenzi.
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: gborislav on June 27, 2007, 12:33:47 PM
Hi.

Your link is broken:

2) Download this package

Can you reload or sent to my email file resizer.php new ver. sdmb@optonline.net
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: v28021 on June 27, 2007, 04:33:24 PM
Hi.

Your link is broken:

2) Download this package

Can you reload or sent to my email file resizer.php new ver. sdmb@optonline.net

You have the code here, http://www.4homepages.de/forum/index.php?topic=6978.msg82301#msg82301

Well, does anybody know how to do what I said in the posts above?
Title: Re: [MOD] Auto-Image Resizer v2.1
Post by: ShadowedScope on October 13, 2007, 08:46:18 PM
Hey all im so so sorry to bring this upon you and i kno its been a discussion for a long time. I followed all the code and everything is fine but when i click the link to download the mod for the image resizer it times out and cannont load the page. Please provide me with nay help if possible please i would really appreciate it. Thanks

Regards

Tim