title: if/else statement for wordpress metabox
body: <p>I have this code on some pages to display an image that is uploaded via custom metabox on a wordpress page. However, I'm trying to figure out how to wrap it in an if/else statement, so that if a user does not upload an image, then the code is not displayed.</p>
  
  <p>Here's my code on the page template:</p>
  
  <pre><code>&lt;div id="image-slider" class="rs-full"&gt;
      &lt;div class="container"&gt;
          &lt;div class="row-fluid"&gt;
              &lt;img src="&lt;?php global $post; $image = get_post_meta( $post-&gt;ID, '_wpb_rs_full', true ); echo $image; ?&gt;" alt="&lt;?php echo get_the_title($ID); ?&gt;"&gt;
                      &lt;/div&gt; &lt;!-- /.row-fluid --&gt;
      &lt;/div&gt;&lt;!-- /.container --&gt;
  &lt;/div&gt;&lt;!-- /#image-slider --&gt;
  </code></pre>