Changeset 779873
- Timestamp:
- 09/29/2013 03:39:05 PM (13 years ago)
- Location:
- amtythumb
- Files:
-
- 11 added
- 1 deleted
- 5 edited
-
tags/4.0.2 (added)
-
tags/4.0.2/amtyThumb.php (added)
-
tags/4.0.2/amtyThumbAdminFunction.php (added)
-
tags/4.0.2/amtyThumbAdminPg.php (added)
-
tags/4.0.2/amtytextthumb.gif (added)
-
tags/4.0.2/cacheFunction.php (added)
-
tags/4.0.2/invalid.gif (added)
-
tags/4.0.2/lead-img.php (added)
-
tags/4.0.2/readme.txt (added)
-
tags/4.0.2/supportingFunction.php (added)
-
tags/4.0.2/videothumb.php (added)
-
trunk/amtyThumb.php (modified) (1 diff)
-
trunk/amtyThumbAdminFunction.php (modified) (1 diff)
-
trunk/amtyThumbAdminPg.php (modified) (1 diff)
-
trunk/cache (deleted)
-
trunk/lead-img.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amtythumb/trunk/amtyThumb.php
r779799 r779873 6 6 7 7 Author: Amit Gupta 8 Version: 4.0. 18 Version: 4.0.2 9 9 Author URI: http://article-stack.com/ 10 10 */ -
amtythumb/trunk/amtyThumbAdminFunction.php
r779794 r779873 36 36 } 37 37 //echo $img; 38 $img_uri = getAmtyThumbPluginPath() . "testimage .jpg";39 $img_url = getAmtyThumbPluginURL() . "testimage .jpg";38 $img_uri = getAmtyThumbPluginPath() . "testimage"; 39 $img_url = getAmtyThumbPluginURL() . "testimage"; 40 40 //echo $img_uri; 41 41 $starttime = time(); -
amtythumb/trunk/amtyThumbAdminPg.php
r779794 r779873 166 166 </form> 167 167 </div> 168 168 </div> 169 169 <hr /> -
amtythumb/trunk/lead-img.php
r779794 r779873 32 32 33 33 //To save image on disk 34 $img_uri = getAmtyThumbCachePath() . $pid . "_" . $w . "_" . $h . ".jpg";34 $img_uri = getAmtyThumbCachePath() . $pid . "_" . $w . "_" . $h; 35 35 36 36 if($pid == -1 || !file_exists($img_uri)) { //for specific image resizging, caching is not required. it'll be saved with -1 pid … … 40 40 41 41 //Actual image url 42 $resized_img = getAmtyThumbCacheURL() . $pid . "_" . $w . "_" . $h . ".jpg";42 $resized_img = getAmtyThumbCacheURL() . $pid . "_" . $w . "_" . $h; 43 43 44 44 if($img_url_only == "y"){ … … 164 164 if($thumb != ''){ 165 165 if($imgInfo[2] == IMAGETYPE_JPEG){ 166 imagejpeg($thumb, $imgPath , 100);166 imagejpeg($thumb, $imgPath . ".jpg" , 100); 167 167 }elseif($imgInfo[2] == IMAGETYPE_GIF){ 168 imagegif($thumb, $imgPath );168 imagegif($thumb, $imgPath . ".gif"); 169 169 }elseif($imgInfo[2] == IMAGETYPE_PNG){ 170 imagepng($image_p, $imgPath , 9);170 imagepng($image_p, $imgPath . ".png", 9); 171 171 } 172 172 } -
amtythumb/trunk/readme.txt
r779799 r779873 5 5 Requires at least: 2.5 6 6 Tested up to: 3.5 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 9 9 Fetch first image of a post and Resize it. Otherwise resize an image. … … 94 94 == Changelog == 95 95 96 = 4.0.2 = 97 * fixed a bug in saving all resized images in jpg by default 98 96 99 = 4.0.1 = 97 100 * fixed a bug in returning cached image path … … 145 148 == Upgrade Notice == 146 149 150 = 4.0.2 = 151 * fixed a bug in saving all resized images in jpg by default 152 147 153 = 4.0.1 = 148 154 * fixed a bug in returning cached image path … … 152 158 * offline cache - You can rebuild cache for all or particular posts directly through option page. It saves client response time for posts which are not cached yet. 153 159 * HTML design fix amty thumb option page. 154 155 = 3.2.0 =156 * improved quality of PNG and GIF files resizing157 158 = 3.0.1 =159 * fixed a bug when it tries to resize invalid or broken images160 161 = 3.0.0 =162 * performance improvement163 * You can see broken cached images from amty Thumb admin page.164 * first image will be cached whenever the page gets published.
Note: See TracChangeset
for help on using the changeset viewer.