Hi,
I am using styledlabel module in my Titanium app, when I try to load a local image, it won't display. Remote images work fine.
The code is straight from the github example https://github.com/appcelerator/titanium_modules/tree/master/styledlabel
from text.html: <br/><img src="platform.png"/>
Loading it into the label as: var label = StyledLabel.createLabel({ html: Ti.Filesystem.getFile('text.html').read().text, height: Ti.UI.SIZE || 'auto', width: Ti.UI.SIZE-50, left:20, backgroundColor: '#fff', borderColor: '#ccc', borderWeight: 1, bottom: -1 }); label.addEventListener('click', linkClickListener); scroll.add(label);
HTML displays fine, except for the local image. Since it is in an HTML file, I cannot use Ti.FileSystem.resourcesDirectory to explicitly specify the path.
Is anyone else using this module or is it abandonded(no activity for over a year)? Is there another module out there that does something similar?