Note that contentType
cannot be applied to transformed versions of a blob, so raw
is used here to refer to the originally uploaded binary.
Returns the content type of the binary data, e.g. "image/jpeg".
obj = Scrivito.getClass("Image").all().first();
obj.get('blob').raw().contentType();
Note that contentType
cannot be applied to transformed versions of a blob, so raw
is used here to refer to the originally uploaded binary.
Returns
String