• Resolved geoffcalver

    (@geoffcalver)


    Hi everyone!

    I run Terminal Gamer, a gaming website and I have a question regarding how to change my image settings in single.php.

    My site’s single.php coding for images looks like this:

    <?php if( get_post_meta( $post->ID, "image_value", true ) ) : ?>
    
    									<div class="post-image-inner right">
    										<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=225&h=246&zc=1" alt="<?php the_title(); ?>" /></a>
    									</div>

    I don’t want the image to show up on the inner right. It shows up as a small thumbnail that cuts off large portions of the image. I want it to show up as a full size image at the very top of the post. How can I edit the code to do this?

    Thanks so much for any help you guys can provide!!!

Viewing 1 replies (of 1 total)
  • Thread Starter geoffcalver

    (@geoffcalver)

    Found the solution. Changed <div class=”post-image-inner right”> to <div class=”post-image”> and changed dimensions of image where it says w= and h=.

Viewing 1 replies (of 1 total)

The topic ‘Help Editing Image Placement in Single Post PHP’ is closed to new replies.