Keychain expression on image properties

I’m trying to use the keychain expression on the image property for scale:
Page%2?1:-1
and X location:
Page%2?430:10

If I use these expressions in a text box they evaluate correctly, but only seem to evaluate the final state for images.

Am I missing something here?