ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Inline PDF viewing embedded in entry

September 07, 2012 2:11pm

Subscribe [3]
  • #1 / Sep 07, 2012 2:11pm

    designstation

    48 posts

    Hi there,

    Does anyone know of a system that would allow for inline PDF viewing in an ExpressionEngine entry? I have a client who would like to post a PDF for members to a site to view - the tricky aspect is that it can’t be downloadable or printable. I’ve looked around and so far haven’t been able to find anything.

    Thanks!

  • #2 / Sep 08, 2012 12:21pm

    the3mus1can

    426 posts

    Something like this (http://flexpaper.devaldi.com/demo/) might work, but someone that knows what they are doing can still open up the developer console and see the url of the pdf being loaded.

    or

    You could do inline images with data url (http://www.websiteoptimization.com/speed/tweak/inline-images/), but once again if someone knows what they are doing they can view source and grab the data url and create an image file from it.

    Both of the methods provide a little more protection, but if it is on the web and you know what you are doing it is downloadable.

  • #3 / Sep 10, 2012 4:58pm

    designstation

    48 posts

    Awesome, thank you for pointing me towards Flexpaper. Looks like it could be just the thing - and fortunately, the folks using this site in particular aren’t especially tech savvy - so just making the process of finding the original file difficult is nearly as good as making it impossible.

  • #4 / Sep 24, 2012 7:31am

    Steven Grant

    894 posts

    We did this on a recent project

    <div id="pdf" class="buffer-top">
      <object width="805" height="800" type="application/pdf" data="assets/files/IWU_SGA_Constitution__Compendium_FA2012.pdf?#zoom=85&scrollbar=1&toolbar=1&navpanes=0" id="pdf_content">
        The PDF cannot be displayed… sorry about that.
      </object>
    </div>

    I don’t like it but it gave them what they needed

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases