[code] make attached image the featured image (=thumbnail)