AnsweredAssumed Answered

Unable to render image in base64 format with Picture widget of freeboard on Chrome & Firefox.

Question asked by prashanth on Jul 19, 2017
Latest reply on Jul 25, 2017 by thingspace

Unable to render image in base64 format with Picture widget on chrome and firefox browsers(Working fine in IE).

Issue analysis: I found that in order to avoid caching of images, base64 image string when rendered as URL , is appended with a timestamp(ex: base64_string+"?=timestamp"). Due to the presence of "?" a special character, entire base64 string is treated as invalid by the above mentioned browsers.

This timestamp attachment is happening @ line number 1324 of /updateImage function of Picture widget in file "freeboard/plugins/freeboard/freeboard.widget.js".#Freeboard.thingspace.io

Outcomes