Ok here my situation. I have a Post with a description and IMAGE * <img src="timthumb.php?src=nhob-396.jpg" alt="" border="1" /> * but I think I need a special code on my post for the picture to be take from there and move on the main page because right now the noimage.jpg appear on the page.
The main page code :
<div class="fpslide">
<div class="photo">
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>">
<?php
$key = 'thumbnail';
$themeta = get_image_path($post->ID,$key);
if($themeta != '') {
if($timthumb == 'on') {
echo '<img src="timthumb.php?src='.$themeta.'&h=300&w =490&zc=1" alt="'.get_the_title().'" />';
} else {
echo '<img src="'.$themeta.'" alt="'.get_the_title().'" />';
}
} else {
echo '<img src="'.get_bloginfo('template_url').'/images/noimage.jpg" alt="" />';
}
?>
</a>
</div>
|