Should blog/article images have their own slice?

Hello @dan.duett

Thanks for more detail.

There are some limitations to putting Images in the Rich Text field:

  1. In the HTML code, the image will be displayed under a paragraph <p> tag, not in the <img> tag. To apply the <img> tag, you need to use HTML Serializer. HTML Serializer - Prismic.

  2. You can not have full control over image blocks to add figcaption available for images in the rich-text editor. Here is a thread related to it: Caption for images in RichText field

  3. it's not possible to add labels to image fields in the Rich Text field. Here is a thread related to it.

  4. You can't set image views for images inside the Rich Text field in the Prismic UI. You need to create srcsets for images in the HTML serializer of your project. Here is a thread related to it.

I hope it answers your question. Let me know if you have any further questions.

Thanks,
Priyanka

2 Likes