Plugin Directory

Changeset 848885


Ignore:
Timestamp:
01/31/2014 04:31:58 PM (12 years ago)
Author:
amtyera
Message:

fixed of bug adding 2 dots before file extension

Location:
amtythumb
Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • amtythumb/trunk/amtyThumb.php

    r848871 r848885  
    66
    77Author: Amit Gupta
    8 Version: 4.1.1
     8Version: 4.1.2
    99Author URI: http://article-stack.com/
    1010*/
  • amtythumb/trunk/cacheFunction.php

    r848861 r848885  
    6363function amty_putIntoImageCache($postId,$force=0,$default_img=''){
    6464    $metaVal = get_post_meta($postId,'amtyThumb',true);
    65     $imgExt = 'gif';
     65    $imgExt = '.gif';
    6666    if($force == 0 && $metaVal != ''){
    6767        //do nothing
     
    8080            if($imgExt != ''){
    8181                $imageString = file_get_contents($img);
    82                 $img = getAmtyThumbCachePath() . $postId . "." . $imgExt;
     82                $img = getAmtyThumbCachePath() . $postId . $imgExt;
    8383                file_put_contents($img,$imageString);
    8484            }else{
  • amtythumb/trunk/readme.txt

    r848871 r848885  
    55Requires at least: 2.5
    66Tested up to: 3.5
    7 Stable tag: 4.1.1
     7Stable tag: 4.1.2
    88
    99Fetch first image of a post and Resize it. Otherwise resize an image.
     
    9494== Changelog ==
    9595
     96= 4.1.2 =
     97* bug fix : there were 2 dots before file extension
     98
    9699= 4.1.1 =
    97100* bug fix : auto cache clear on plugin update is failing
     
    164167== Upgrade Notice ==
    165168
    166 = 4.1.1 =
     169= 4.1.2 =
    167170* perofrmance improvment
    168171* you require to clear soft cache from plugin admin page after installing the plugin
Note: See TracChangeset for help on using the changeset viewer.