Skip to content

10 prj blog#36

Open
edwestfieldjr wants to merge 3 commits intomainfrom
10-prj-blog
Open

10 prj blog#36
edwestfieldjr wants to merge 3 commits intomainfrom
10-prj-blog

Conversation

@edwestfieldjr
Copy link

The customRenderer Image component's alt property should be set to {image.properties.alt} instead of {image.alt} :

            <Image
              src={`/images/posts/${post.slug}/${image.properties.src}`}
              alt={image.properties.alt}
              width={600}
              height={300}
            />

Thanks, -Ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants