Plugin Directory

Changeset 776341


Ignore:
Timestamp:
09/21/2013 12:11:58 PM (13 years ago)
Author:
amtyera
Message:

change in resized image quality

Location:
amtythumb
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • amtythumb/trunk/amtyThumb.php

    r776330 r776341  
    66
    77Author: Amit Gupta
    8 Version: 2.1.2
     8Version: 2.1.3
    99Author URI: http://article-stack.com/
    1010*/
  • amtythumb/trunk/lead-img.php

    r776323 r776341  
    141141        //@ImageJPEG ($thumb);
    142142        $quality = 100;
    143         if($w < 100 || $h <100 ){
     143        if($w < 100 && $h <100 ){
    144144            $quality = 50;
    145         }elseif($w < 200 || $h <200 ){
     145        }elseif($w < 200 && $h <200 ){
    146146            $quality = 80;
    147147        }
  • amtythumb/trunk/readme.txt

    r776330 r776341  
    55Requires at least: 2.5
    66Tested up to: 3.5
    7 Stable tag: 2.1.2
     7Stable tag: 2.1.3
    88
    99Fetch first image of a post and Resize it. Otherwise resize an image.
     
    118118== Upgrade Notice ==
    119119
     120= 2.1.3 =
     121* Image quality : 50% for 100x100px thumbnail, 80% for 200x200px thumbnails, and 100% for bigger than 200px.
     122
     123= 2.1.2 =
     124* added missed files
     125
    120126= 2.1.1 =
    121127* fixed a bug when image url is not valid or it is removed. A thumbnail will not be generated.
Note: See TracChangeset for help on using the changeset viewer.