Normalize a stored Image-field value into something safe to put in img src. Accepts data URIs, raw image base64, http(s) URLs, and relative paths. Rejects javascript:/vbscript:/file: and non-image data: URIs.
img src
Normalize a stored Image-field value into something safe to put in
img src. Accepts data URIs, raw image base64, http(s) URLs, and relative paths. Rejects javascript:/vbscript:/file: and non-image data: URIs.