public string getImagePath() { Debug.WriteLine("index: " + index + " category " + category); string path = DBLoader.calcItemImage(index, category, 0, 0); if (path == null) { path = "default.gif"; } return(path); }