Support » Plugins and Hacks » Post-Thumbs revisited link to image and not post

  • Resolved raykart

    (@raykart)


    Hey,

    Been trying out the the post-thumb plugin by http://www.alakhnor.com/post-thumb . And have the following issue, post thumbnails link to the psot image instead of posts. Using this code:


    <?php echo get_thumb('altappend=thumb_&width=180&height=60&vcrop=0&hcrop=0'); ?>

    Also I can’t seem to figure out how to make it so that it crops and resize image to 180 x 60 regardless of the image size. I’m wanting to get a similar effect as on http://www.dannychoo.com/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you want to link to post instead of image, add showpost=1.
    If you want to size to 180×60 regardless of original image ratio, ass keepratio=0.
    <?php echo get_thumb('altappend=thumb_&width=180&height=60&vcrop=0&hcrop=0&showpost=1&keepratio=0'); ?>
    🙂

    That worked! Thank you :D!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post-Thumbs revisited link to image and not post’ is closed to new replies.