Usecases for rich text image link field

Hey Prismic People, I have a question for you: What do you use the Link field on the RichText image for?

One obvious usecase would be to link it to the Image (Media) itself and then make the image clickable. But to give honest feedback this field irritates me and my clients more than it offers opportunities. If I wanted the image to link to the image itself on click, then I would implement that in the corresponding component with image URL which is given anyways.

Hey David! that’s fair feedback :wink:

The link field on Rich Text images was added mainly to cover a wide range of use cases that people kept asking for. Before this existed, there was no way to make an image inside Rich Text clickable without handling it entirely in code via a custom HTML serializer. This field was meant to simplify that and move it closer to the editor, so content teams don’t need dev changes for every case.

Some teams use it to link a hero image to another page, a document, or an external URL. Originally it only accepted media links, and it was later expanded to support document links and external URLs because that was another common request.

Your point about it being confusing or unnecessary for some teams makes sense, though, and I’ve logged this as feedback so it’s tracked as a feature request around customization or clarity of that field (:

1 Like