add resolution of images to sqlite db