adding a loadImage function for charts2-type images from CWB