I'm messing around with Custom Meta Boxes in WP for the first time and was wondering how I go about displaying the fields that only have values attached to it.
For example I've got a meta box with an ID of "floorplans" and a field with an ID of "image", which I'm able to display like so:
<img src="
<?php $custom = get_post_custom($post->ID, 'floorplans', true);
echo $custom["image"][0];?>
"/>
How do I make this conditional, so it only displays the field when a value is present?