Find the photo you in the database you want to use and click on it to enlarge. You will see detail about the photo including a BB Code. Copy and paste that code into your thread. Be sure to include the entire code including all the brackets, but not the part that says BB Code:. You can see the BB Code in the photo below.
Here is what shows when I post that code in the photo above.