add type to id - so we can, in sanitize callback, add the option that contains just the image id