Fetch first image of a post and Resize it. Otherwise resize an image.
Installation of plugin is similar to other wordpress plugin.
You may also add amtyThumb_post anywehre in your post or page using short code. For his;
To fetch image from specific post. Resize to half. [amtyThumbOnly percent=50 post_id=282] To fetch image from current post. Resize by its width.(adjust height automatically) [amtyThumbOnly width=50]
For any doubt or query visit article-stack or
Importatnt: Width and Height both are supposed to be provided if constrain is 0 then image will be streched, if it is 1 then it'll be resized in ratio
Resize an image to 25 x 25; default zoom amty_lead_img(25,25,'','path/to/image.jpg');
Resize an image to 25 x 25, cropping amty_lead_img(25,25,'','path/to/image.jpg','',1);
Resize an image to 50% the size amty_lead_img('','','','path/to/image.jpg',50);
Resize an image to 50 pixels wide and autocompute the height amty_lead_img(50,'','','path/to/image.jpg');
Resize an image to 100 pixels tall and autocompute the width amty_lead_img('',50,'','path/to/image.jpg');
Resize to 50 pixels width OR 100 pixels tall, whichever resulting image is smaller amty_lead_img(50,100,1,'path/to/image.jpg');
Resize first image of current post amty_lead_img($w,$h,1,'','',0);
For direct recaching use getAmtyThumbRecacheLink($pid) somewhere in your theme.
Requires: 2.5 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: 40+
Got something to say? Need help?