progress on getting image data from sqlite
basis for xml clip selection