Once you have the ID it is simply a case of retrieving the image data from the NVDImage
table by selecting the record with ima_imageid having the same value you found in MY_ImageID. Image data found in the CAP database is always in a JPEG format and has a resolution of 1024x768.