d2hc-image no longer extends img, but it works now.