Is there a way to display a preview of a file?
Currently, I have my site set up in such a way that all files in a directory are displayed in  a loop. Within this loop, I present a link to the user with a path to download the given file, which is currently on my server.Everything is working as expected. However, on some popular sites, I've seen a preview of the files displayed before the user chooses to download  ..Does anyone know how to do this?
Is there a way to display a preview of a file?
===

Currently, I have my site set up in such a way that all files in a directory are displayed in  a loop. Within this loop, I present a link to the user with a path to download the given file, which is currently on my server.Everything is working as expected. However, on some popular sites, I've seen a preview of the files displayed before the user chooses to download  ..Does anyone know how to do this?