Change {{url}} and {{image}} into synchronous helpers

Closes #3961