process markdown images file