I'm looking for a conditional piece of code in a single post or page that does the following in single.php (inside the loop)
IF there is no image attached to the post then do THIS (anything from another php script to some html/text) OTHERWISE display the image as per the post.
Thanks
Pete