that's what I've been playing with, but with no luck. i just don't know how to tell wp to show an image, only if one exists. I've done it before but the context was different. I'm not great with this either. I help out partly to learn.
<?php echo do_shortcode('[gallery]'); ?>
you could try that in your content area, instead of the code you are using