I have this code on my main page, I'm trying to get a photo up that you can hit previous on to go to the previous entry in that category, but neither the previous nor next links show up. I use this query because I have another query elsewhere on the page to list entries from another category.
<?php query_posts('category_name=photoblog&showposts=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content('Read the rest of this entry »'); ?>
<?php previous_post('%', '← previous', 'no','yes'); ?>
<?php next_post('%', 'next →', 'no','yes'); ?>
<?php endwhile; ?>