I would like to display an image attachment on my visualforce page (via standard controllers).
What I would like to add is a render statement to only show this the attachment exists? Right now the page shows an error if there isnt any images attached to the record.
Apex
<apex:image url="{!URLFOR($Action.Attachment.Download, News__c.Attachments[0].Id)}" styleClass="img-responsive"></apex:image>