Looks like you'd figured it out. I miss how we could previously choose BBCode and copy. Then when we'd paste here, the image would be present, it would link back to the photo's page, the title would be present, also linking back to the photo's page, and the photographer's name would be present with a link to his/her profile page.
Here's a work around that I posted at my flickr for if you'd want to have the title under the photo.
If you click on Quote to reply to this post, you'll see the code and that I replaced the img stuff that begins farm4, with the title of the photo. It will also link back to the photo page.