test listing images

trying to pull all images from database and put them into a list