The dynamic image should only have the image url, and nothing other than the url (or an expression that evaluates to an image url). You don’t need the conditional either.