• Cool plugin! But I need help. What do I add To the loop so that the auto thumbnails are linked to the post.
    Then, how to I change the thumbnail size from 128×60 to 200×150.

    Can this be done with that plugin?

Viewing 1 replies (of 1 total)
  • RE: Thumbnails linked to post

    An example of that resides on my Post Image page, but in short you just stick post_image() in a link tag, using WordPress’ the_permalink() template tag to output the permalink:

    <a href="<?php the_permalink(); ?>"><img src="<?php post_image('/path/to/default.gif', TRUE, FALSE); ?>" /></a>

    The second (use_thumb) and third (img_tag) attributes set Post Image to use thumbnails, and to only echo the url to the image.

    RE: Change thumbnail size

    The plugin can’t do anything about the actual thumbnail file, but if you need thumbnails to be displayed in the same dimensions each time, you could add width and height attributes to your img tag:

    <a href="<?php the_permalink(); ?>"><img src="<?php post_image('/path/to/default.gif', TRUE, FALSE); ?>" width="200" height="150" /></a>

Viewing 1 replies (of 1 total)
  • The topic ‘Post Image plugin question’ is closed to new replies.