Fix url and display for file pages
Summary
when a file page is returned the url is not valid and a image shows up if the file page is a image page
Technical Details
fix the url, only show image if image=true
Testing Instructions (to be completed by developer)
Definition of Done
when a file pages with a image shows up in the result, no image is displayed if the image=true settings is not set
the link of a file page is correct
Edited by Ghost User