title: Get post_meta image url based on ID
body: <p>So i'd like to extract the image url from the database on one of my post_meta, but I'm unsure how to target that.</p>
  
  <p>Here is the steps that I'm taking:</p>
  
  <p>Here is what's under the <code>wp_postmeta</code> table in the database:<br>
  <a href="https://i.stack.imgur.com/Yzb98.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yzb98.png" alt="enter image description here"></a></p>
  
  <p>If I navigate to <code>wp_posts</code> - I get the <code>meta_value</code> post with my url inside as such:<br>
  <a href="https://i.stack.imgur.com/4DJRN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4DJRN.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>When I do <code>$test = get_post_meta($post-&gt;ID, 'full_image');</code> I get the following:<br>
  <a href="https://i.stack.imgur.com/GbJRx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GbJRx.png" alt="enter image description here"></a></p>
  
  <p>How does one extract the image url from <code>wp_posts</code> based on <code>$post-&gt;ID</code>? I'm having the hardest time targeting it.</p>
  
  <hr>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>If I do <code>var_dump(get_attached_media('image', $post-&gt;ID));</code> - I get the following results:<br>
  <a href="https://i.stack.imgur.com/nlDKu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nlDKu.png" alt="enter image description here"></a></p>
  
  <p>How do I grab the <code>guid</code> url?</p>