I am testing the built in WordPress Gallery function. So far everything works pretty well. The only thing that bothers me is that the image on a galleries attachement page is linked to the actual JPG file.
The code that outputs that link is:
<a href="<?php echo wp_get_attachment_url($post->ID); ?>">
I would like to change that link to the next attachements page but can not figure out how to do this.
Does anybody have an idea on how to do that?
Thanks a lot,