Adds png & jpg links to CDN-ified URLs.