added simple sql support; image list;