[Plugin: Multiple Post Thumbnails] Passing image through phpThumb
-
I have been using this:
$thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), full ); $headerImage = $thumbnail[0]; echo '<img src="'.get_bloginfo('url').'/wp-content/plugins/portfolio/phpThumb/phpThumb.php?src='.$headerImage.'&w=647&h=220&zc=c" alt="'.$post->post_title.'" />';
Which has been working fine. Since installing Multiple Post Thumbnails, I’m not sure how to pass the image returned through phpThumb to have it dynamically resized. Could anyone point me in the right direction?
Thanks,
Alanhttps://www.ads-software.com/extend/plugins/multiple-post-thumbnails/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Multiple Post Thumbnails] Passing image through phpThumb’ is closed to new replies.