Support » Plugins » “Post Image” not working WordPress 2.1.3

  • I am trying to get the “Post Image” Plugin by Kaf Oseo up and running on a site and it isn’t working.

    I am using WordPress 2.1.3 and it is the only plugin activated.

    I have added the following code to page.php:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <div class="post" id="post-<?php the_ID(); ?>">
          <?php the_title(); ?>
        <div class="entry">
          <div class="post_image">
            <?php post_image(); ?>
          <?php the_content(); ?>
      <?php endwhile; endif; ?>

    The site is then refusing to load past <?php post_image(); ?>, everything loads fine up to this point but no further.



Viewing 2 replies - 1 through 2 (of 2 total)
  • I could’nt get this to work with my install so I am instead using the following code to achieve the same affect.

    <?php // This Function Powers the thumbnail image that is used in my portfolio
    function return_ThumbNail($Thumb) {
    if (preg_match('/<img[^>]*>/',$Thumb,$Treffer)) {
    $Thumb = preg_replace('/(<img ).*(src=\'[^\']*\').*( \/>)/','$1$2$3',$Treffer[0]);
    $Thumb = preg_replace('/(.[^.]* \/>)/','.thumbnail$1',$Thumb);
    } else {
    $Thumb = false;
    return $Thumb;



    Could you provide more information on how you are placing this function in your code? I can’t seem to get it working.



Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Post Image” not working WordPress 2.1.3’ is closed to new replies.