Contentful logo

Contentful Community

Hyperlinked text over image

Have a simple requirement to set a hyperlink over an image. Just clicking on the hyperlink should navigate to different url. Is this possible using just Rich Text type field ?

Hi @karthikm_mathrubooth

For your use case I would recommend either two separate fields ‘Link’ and ‘Image’, so that your FE can build the hyperlink on top of the image, or Markdown, that has a simpler syntax.

For example you could try to:

I simply created a content type that has image asset ( media ) and rich text content ( for the hyperlink ) type fields in it and entries based on this content type when returned to the app , app can render the image from the DAM url , position the hyperlink and style + layout the image based on Figma UX specs

image001.jpg