Horje
Fetch first image of a post and Resize it. Otherwise resize an image. Wordpress Tutorial

Noted That:

  • To install correctly this amtythumb.zip .
  • Fisrt Download the amtythumb.zip to your computer
  • Extract/Open amtythumb.zip to Your Computer.
  • Then, Find readme.txt file inside amtythumb.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " amtythumb.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " amtythumb.zip "  Downloaded plugin from your computer, Where you downloaded amtythumb.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " amtyThumb " folder is added on left sidemenu. Now, Click on " amtyThumb " folder.

   Noted that: If you do not see " amtyThumb " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  amtyThumb Configurtions and Settings or How to work " amtyThumb " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " amtyThumb " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is amtyThumb
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Installation of plugin is similar to other wordpress plugin.

e.g.

  1. Extract amtyThumb.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

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 wp-thumb-extractor

Usage examples:

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.


image , resize , fetch , first , post , otherwise , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference