I was playing around with some code for one of my client's site and using the get_attachement_link.
The examples on the codex are pretty sparse right now and I was going to add my code snippet, but would prefer to get advice first.
This is what I have right now:
I'm pulling the images attached to a page, displaying them in a list and then using jQuery just rotating through the images.
Can anyone confirm if my code is indeed without errors? It works, so that's the main thing, but I don't want to be updating the codex with a snippet that may contain errors.