say you are looking at a photo from the database...
click the picture. Once that opens look near the top and click the link that says 'Show more photo details'.
At the top of the page that opens you'll see more info about the photo...
on that page, copy and paste the little section that says ATP BB Code, beginning with the bracket. That code will allow you to place a photo from the database into a forum post, a blog entry or even an article you are writing for the site.
I hope these instructions were clear enough for you.