I am using a plugin called Yapb (Yet another photo blog). I have everything set up, except the archive page where all the thumbnails are generated.
I am using a page template, but am not able to generate any thumbnails. Can anyone help?
I am using a plugin called Yapb (Yet another photo blog). I have everything set up, except the archive page where all the thumbnails are generated.
I am using a page template, but am not able to generate any thumbnails. Can anyone help?
Actually this is the plugin that I am using.
http://johannes.jarolim.com/blog/wordpress/yet-another-photoblog/adapting-templates/#pages
I followed the directions, but these directions don't work for pages created from page templates.
The maker of the plugin got back to me, here is the code that works for me FYI.
<?php
$posts = get_posts('numberposts=5');
foreach($posts as $post) :
setup_postdata($post);
?>
...
<!-- install for yapb thumbails -->
<?php if (!is_null($image = YapbImage::getInstanceFromDb($post->ID))): ?>
<img src="<?php echo $image->getThumbnailHref(array('w=90','fltr[]=usm|30|0.5|3')) ?>" width="90" >
<?php endif ?>
<!-- install for yapb thumbails -->
...
<?php endforeach; ?>
ok but where in the code do i insert this peice of code?
can someone give me a reference point?
or does it not matter where iput it?
This topic has been closed to new replies.