Handle images and links in two flavors