resize .md image