Sometimes uploading a PNG gives an error on these forums, JPEG seems to work always for me. Don't ask me about the reason.
I have been using those variables all the time without any problem. Which version do you use, and how did you check: after publishing or on Preview (which preview)?
Lilybiri