Unable to make images clickable — feature available but doesn't work in prod

Describe your question/issue in detail

Impacted feature

Adding URLs to images to make them clickable links. The feature appears to be present, and works in Preview, but does not work when the page is deployed in Prod.

What steps have you taken to resolve this issue already?

I’ve searched to see if others encountered this issue, but only found posts from before the feature was added. Other than that, I’m not really sure where to start.

Errors

No error messages or codes appear.

Your Role

Content editor

Steps to reproduce

Add an external URL to an image and publish the page.

Hey there, this usually means things are breaking on the frontend side, not in Prismic.

The API is is sending the link, your live site just isn’t using it. Most of the time it’s because the image component in prod isn’t wrapping the image in an anchor tag or isn’t reading the linkTo value at all.

which framework are you using?

Thank you! I’ve passed your comment on to our site’s dev team and it’s now in their queue to troubleshoot.

1 Like