No, you miss understood what I was asking.
I don't care about medium images. I need to get Linked Images to actually be a true linked image code like the examples I posted. What file contains the code that controls putting in bbcode? I just need the file name, not how to modify it. I'll figure that out myself.