}
else
{
// load image from relative path
String src = (String)fElement.getAttributes().getAttribute(HTML.Attribute.SRC);
if (src.startsWith("data:image"))
{
// we have a base64 encoded image
int dataStart = src.indexOf("base64,") + 7;
String data = src.substring(dataStart);