assetForImage returns an object containing type and asset