add sanity id to sanity images

This commit is contained in:
2024-10-30 11:42:00 +01:00
parent 281cea895a
commit 9414e25d82

View File

@@ -55,6 +55,7 @@ export default async function PostPage(props: { params: PageParams }) {
height={height}
alt={value.altText || ' '}
loading="lazy"
id={value._id}
style={{
display: isInline ? 'inline-block' : 'block',
aspectRatio: width / height,