Returns the 4 values: the uri field, width, height and mimetype of the thumbnail that will be written.