WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
timthumb.php and jQuery Colorbox (1 post)

  1. flashbuddy
    Member
    Posted 2 years ago #

    Check this out and let me know what you think:

    View Page

    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;
    ?>

    http://wordpress.org/extend/plugins/jquery-colorbox/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic