timthumb.php and jQuery Colorbox
-
Check this out and let me know what you think:
Here is my code”
<?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> <a href="<?php bloginfo('template_url');?>/timthumb.php?src=<?php echo $image[0];?>&h=768&q=90"> <img id="postFeatured-image" src="<?php bloginfo('template_url');?>/timthumb.php?src=<?php echo $image[0];?>&h=200&w=200&a=c&q=90" /> </a> <?php endif; ?>
- The topic ‘timthumb.php and jQuery Colorbox’ is closed to new replies.