added getImages API