Use first the image attribute to compute thumbnails, and only after, if an image, the contentURL