add sanity id to sanity images
This commit is contained in:
@@ -55,6 +55,7 @@ export default async function PostPage(props: { params: PageParams }) {
|
|||||||
height={height}
|
height={height}
|
||||||
alt={value.altText || ' '}
|
alt={value.altText || ' '}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
|
id={value._id}
|
||||||
style={{
|
style={{
|
||||||
display: isInline ? 'inline-block' : 'block',
|
display: isInline ? 'inline-block' : 'block',
|
||||||
aspectRatio: width / height,
|
aspectRatio: width / height,
|
||||||
|
Reference in New Issue
Block a user