Scrivito is proudly made by JustRelate Group in Berlin, Germany, and Wrocław, Poland.
Scrivito is proudly made by JustRelate Group

raw()

The raw version of a binary.

image = Scrivito.getClass("Image").all().first();
rawBinary = image.get('blob').raw();
console.log(rawBinary.contentLength());

The raw version of a binary is its original version to which no default transformation has been applied. This means that no metadata of the originally uploaded binary are stripped, making this data available to editors.

Remarks

This method should only be used if the current user is logged in as an editor.

Returns

Binary

See also

original