Method renamed from formatResource to formatResourceLine.
CHANGE: link in images open the resource in resource viewer.
CHANGE: added icon to open and open directory to images in resource viewer.