title: reverse this if-statement so it displays the image if both a video and image are uploaded, or the video if just video is uploaded
body: <p>very quick newbie question. how do i reverse this if-statement so it displays the image if both a video and image are uploaded, or the video if just video is uploaded?</p>
  
  <pre><code>&lt;?php if ( $video ) : ?&gt;
  &lt;div class="feature_vid"&gt;&lt;?php echo $video; ?&gt;&lt;/div&gt;
  &lt;?php else: ?&gt;
  &lt;div class="feature_img"&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" rel="bookmark" title="&lt;?php the_title_attribute(); ?&gt;"&gt;&lt;?php the_post_thumbnail( 'portfolio-small' ); ?&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>thanks!</p>