One of our designers uploaded a PDF file (instead of a static image so that people can copy paste from it). PDFs are not rendered inline and I tried playing with the config settings to force that but couldn't get it to work. That part is likely expected anyway as I don't know if browsers can render PDFs inline now and anyway since they can be multiple pages, it would complicate everything.
There are a few things that Pholio could do better in such situation (maybe this can just be special cased to PDFs):
- Display a better visual feedback than a small broken icon for the mock when in the Pholio home page
- Display a better visual feedback than a blank black box when embedded in markup as {M3}
- Even better since this is a non-displayable type, when embedded in markup, turn into a nice download link like for {F123}
Note that we tried then using a file instead of a mock to store the PDF but then you lose all the benefits of Pholio like revisions, appearing at top of tasks, etc... :(
{F166099 size=full}
{F166101 size=full}