Take the 2-minute tour ×  Im trying to get the next and previous
attachment by the user its currently displaying, this is what I
have and it works great except it gets all of the attachments
instead of just the ones from a specific user.  <?php
$attachment_size = apply_filters( 'twentyten_attachment_size',
900 );  echo wp_get_attachment_image($post->ID, array(
$attachment_size, 9999) ); // filterable image width with,
essentially, no limit for image height.?>  <div id="next-prev-
links"><div class="previmg"><?php previous_image_link();
?></div><p id="previmgtxt" class="imgtxt"><?php
previous_image_link(false, 'Previous Photo'); ?></p> <div
class="nextimg"> <?php next_image_link(); ?></div><p
id="nextimgtxt" class="imgtxt"><?php next_image_link(false,
'Next Photo'); ?></p></div> share|improve this question add
comment  1 Answer  up vote 1 down vote accepted  Hi @Jeremy
Love:  Good question! And it's a good question because there do
not appear to be any hooks to allow you to write code to
filtering by author.  S