work on DB getpictures