Ditch the ads, upload images and much more - upgrade today from 5.95/month!
Read Contests Groups Learn Forums Store Help
 

deleting, need the counter


/*
* Template Name: Archive Page
* Description: Page for creating mosaic of all images posted on the site.
*/

get_header();



?>









Archive for the    Category





$ct='';?>

Archive for the    Tag



echo ' ',single_cat_title(),' '; ?>


$image = YapbImage::getInstanceFromDb($post->ID);

if ($image->width > $image->height) {
$thumb_param = array(
'sx='.intval(($image->width - $image->height)/2),
'sy=0',
'sw='.$image->height,
'sh='.$image->height
);
} elseif ($image->width < $image->height) {
$thumb_param = array(
'sx=0',
'sy='.intval(($image->height - $image->width)/2),
'sw='.$image->width,
'sh='.$image->width
);
} else {
$thumb_param = array();
}
array_push($thumb_param, 'h=100', 'q=70');
echo 'ID).$ct.'">'; // append cat value to URL for images
echo ' getThumbnailHref($thumb_param).'" />';
echo '
';


?>

endwhile;
?>





|





endif;
?>

get_footer();
?>

Please tell me what you think

    : , Your review:

    Comment Suggestion: What is your your first impression?
    Line numbers  • Invite them to read
    : no Cost: 0 free left 0 points, You have (?)