function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raksha NarayanRaksha Narayan 

static resource

I have a code snippet in which on click of a custom link, a VF page opens up and it displays the signature of the record owner. The signature is saved as a zip file in static resource.
uniqueid__c is the id for each of the record owner. The signature in the static resource and the name of the images are same as that of the uniqueid. 
For example: If the uniqueid of a record owner is 2216, then the signature image in static resource is saved as 2216.jpg
For fetching the image in my VF page i have used the below code:
<apex:image url="{!URLFOR($Resource.Signature, record.Owner_uniqueid__c+'.jpg')}" width="320" height="55"/>
My question is if uniqueid exists for a owner and if the image doesnot exist in the static resource zip file, then how can a default image be displayed on the VF page?
Please provide inputs for the same.