I have a navigation template in which I'm trying to include an image as a site attribute, but it's not working.
I create an attribute template that just includes:
Then I added this to my navigation template:
Note that the ID of "logoimage" matches the exists="logoimage". I then uploaded an image to the attribute in the page settings. I've confirmed that the image url is accurately being captured in the attribute. The problem seems to be that the ID isn't being associated with the image so the <perch:if> statement doesn't think the condition is met and the following image tag doesn't know what to use for the src.
I can't find an error in my syntax...any help? Thank you.