'Insert ImagePreprocessor before ReferencePreprocessor.'

def extendMarkdown(self, md, md_globals):

    md.preprocessors.add(u'dw-images', ImagePreprocessor(md), u'>html_block')
    md.postprocessors.add(u'dw-images-cleanup', ImagePostprocessor(md), u'>raw_html')
