I have a gallery with an image control. The gallery contains names of documents that are PDFs or DOCX. If the document's extension ends in .pdf, I want the image to display a PDF icon and if the document extension ends in .docx, display a word document icon. Any idea what the formula for the image would be??