add the extesnion .jpg in the file name box after the code for the session variable. So if the code in the fiole name box is:
<%= String(Session("Properties_MainPropertiesID")) %>
change it to:
<%= String(Session("Properties_MainPropertiesID")) %>.jpg