Improve img parser

Parse img between end of title element and end of main element.