using replaced html links to downloaded images