The linkType property didn't exist in Media before. When it was generating the HTML it would determine what the default link type was for the blog and just use that. I needed to store the linkType in the database so I set it here instead.