title: How to query for a image in a rich-text field in Contentful
body: <p>I'm learning Gatsby by building a blog using Contentful as CRM and I'm in doubt how to use it together with gatsby-images to show images into the body of a rich-text field, been searching the internet and still didn't found a good example on how to do it.</p>
  
  <p>My post.jsx:</p>
  
  <pre><code>import React from 'react';
  import { graphql } from 'gatsby';
  import { documentToReactComponents } from '@contentful/rich-text-react-renderer';
  
  import Layout from '../components/layout';
  import Image from '../components/image';
  
  const renderBody = documentToReactComponents;
  
  export const query = graphql`
    query($slug: String) {
      contentfulBlogPost(slug: { eq: $slug }) {
        title
        author
        date(formatString: "DD-MM-YYYY")
        /** body is my rich-text field*/
        body {
          json
        }
      }
    }`;
  
  const Post = ({ data }) =&gt; {
    const {
      title,
      author,
      date,
      body: { json },
    } = data.contentfulBlogPost;
  
    const options = {
      renderNode: {
        'embedded-asset-block': (node) =&gt; {
          console.log(`Node: ${JSON.stringify(node, undefined, 2)}`);
          /** It works with no problems when using a simple img html tag */
          const src = node.data.target.fields.file['en-US'].url;
          const imageAlt = node.data.target.fields.file['en-US'].title;
          return (
            &lt;Image alt={imageAlt} fluid={???}/&gt;
          );
        },
      },
    };
  
    return (
      &lt;Layout&gt;
        &lt;article&gt;
          &lt;h1&gt;{title}&lt;/h1&gt;
          &lt;p&gt;Author: {author}&lt;/p&gt;
          &lt;p&gt;Date: {date}&lt;/p&gt;
          { renderBody(json, options) }
        &lt;/article&gt;
      &lt;/Layout&gt;
    );
  };
  
  export default Post;
  
  </code></pre>
  
  <p>I've been playing with GraphiQL for at least an entire day and still didn't figured it out where and how to use GatsbyContentfulFluid together with the rich-text field as described into the plugin's page.</p>