Adds image exists method to config