How To Add Automatically Resized Images In Your Blog Posts

If you post large number of images in your blog and resize each image  to similar frame after you upload it. Then you may add an automatic task that will resize you images automatically:

  1. Copy the script from here.
  2. Create a new folder ‘script’ in your site root from cPanel.
  3. Upload this script in script folder and name it timthumb.php
  4. Use the following syntax for adding automatically resized image in your blog post:

<img src=”/scripts/timthumb.php?src=/images/whatever.jpg&amp;h=150&amp;w=150&amp;zc=1″ alt=”” />

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.