Changeset 776299
- Timestamp:
- 09/21/2013 09:29:07 AM (13 years ago)
- Location:
- amtythumb/trunk
- Files:
-
- 2 edited
-
lead-img.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amtythumb/trunk/lead-img.php
r493416 r776299 1 1 <?php 2 3 /*4 Usage examples:5 6 Resize an image to 25 x 257 imgsize.php?w=25&h=25&img=path/to/image.jpg8 9 Resize an image to 50% the size10 imgsize.php?percent=50&img=path/to/image.jpg11 12 Resize an image to 50 pixels wide and autocompute the height13 imgsize.php?w=50&img=path/to/image.jpg14 15 Resize an image to 100 pixels tall and autocompute the width16 imgsize.php?h=100&img=path/to/image.jpg17 18 Resize to 50 pixels width OR 100 pixels tall, whichever resulting image is smaller19 imgsize.php?w=50&h=100&constrain=1&img=path/to/image.jpg20 */21 2 22 3 include ("videothumb.php"); -
amtythumb/trunk/readme.txt
r493416 r776299 4 4 Tags: thumbnail, amty, image, first-image, Youtube, Vimeo, Dailymotion, Metacafe, Veoh 5 5 Requires at least: 2.5 6 Tested up to: 3. 27 Stable tag: 2.0 6 Tested up to: 3.5 7 Stable tag: 2.0.1 8 8 9 9 Fetch first image of a post and Resize it. Otherwise resize an image. … … 50 50 For any doubt or query visit [article-stack](http://article-stack.com/ "amty thumb") or 51 51 52 Usage examples: 53 54 Importatnt: 55 Width and Height both are supposed to be provided 56 if constrain is 0 then image will be streched, if it is 1 then it'll be resized in ratio 57 58 Resize an image to 25 x 25; default zoom 59 amty_lead_img(25,25,'','path/to/image.jpg'); 60 61 Resize an image to 25 x 25, cropping 62 amty_lead_img(25,25,'','path/to/image.jpg','',1); 63 64 Resize an image to 50% the size 65 amty_lead_img('','','','path/to/image.jpg',50); 66 67 Resize an image to 50 pixels wide and autocompute the height 68 amty_lead_img(50,'','','path/to/image.jpg'); 69 70 Resize an image to 100 pixels tall and autocompute the width 71 amty_lead_img('',50,'','path/to/image.jpg'); 72 73 Resize to 50 pixels width OR 100 pixels tall, whichever resulting image is smaller 74 amty_lead_img(50,100,1,'path/to/image.jpg'); 75 76 Resize first image of current post 77 amty_lead_img($w,$h,1,'','',0); 52 78 53 79 == Frequently Asked Questions == … … 62 88 [THZ](http://thinkzarahatke.com/ "amty thumb ") 63 89 == Changelog == 90 91 = 2.0.1 = 92 * just modified the docs for end user to tell how to use this plugin 64 93 65 94 = 2.0 =
Note: See TracChangeset
for help on using the changeset viewer.