add function to query image list