It is possible to show the first page of an PDF attachment on a visualforce page like a preview?
I have a custom object with some information and a link to a PDF file which is stored in salesforce. I have a list of all these items and I wanna show the first page of the PDF.
<object data="/servlet/servlet.FileDownload?file=0698E0000008oIpQAI" width="100%" style="height: 100px; border: 1px solid grey;" type="application/pdf" />
I add this code, but It doesnt work, I just see the border. The file is stored as file and attachment in the custom object.