/ Published in: PHP
URL: http://code.google.com/p/timthumb/
TimThumb should be in the template folder named as "thumb.php". Change H (height in px), W (width in px), Q (quality 0-100), ZC (zoom cropping 0-1) values. You can provide only one of the dimensions of the picture to get a proportional scale.
Expand |
Embed | Plain Text
// Image loaded from a Custom Field // Image loaded from images folder in template // Image URI hard-coded <img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=http://www.xaviesteve.com/image.jpg&h=75&w=75&zc=1&q=90" alt="<?php the_title(); ?>" />
You need to login to post a comment.
