How to change the name of the image field used in conditions?