imeancomeonjoe
Member
Posted 2 weeks ago #
I'm using a theme called affair which you can see on the site i'm working on joshmadden.com. In order to get the image in the placeholder you have to create a custom field (name=thumb, value=url) So when i load an image to that custom field, the placeholders on the front page cut off a portion of the picture. How can i make it so that the theme doesn't cut of a portion of the picture. I think the issue is with the code listed below maybe... thanks
"><img src="<?php bloginfo('template_directory'); ?>/images/bigthumb.png" alt="<?php the_title(); ?>" width="430" height="270" />
<?php } else { ?>
"><img src="<?php bloginfo('template_directory'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&h=270&w=430&zc=1" alt="<?php the_title(); ?>" width="430" height="270" />
<?php } ?>
have you played with the width and height attributes?
imeancomeonjoe
Member
Posted 2 weeks ago #
No I haven't. What do you recommend?