WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
[resolved] Can't view PDF with large size (2 posts)

  1. solitary1510
    Member
    Posted 3 years ago #

    I want embed 1 PDF with size=27.2M but it can't. However, I try with another PDF with size=0.314M. It work

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, you can't embed files that are that large. Allowed file size is determined by the memory Google has allocated to PHP (or you, if using the enhanced viewer). While there's no single magic number that I know of, a 30MB PDF isn't just large, it's mean. :) You don't want to wait 5 minutes or more for the image to render in the viewer even if it were capable of doing that. PDFs can be optimized and compressed. In extreme cases, they can be broken up into smaller files.

    It will be able to handle well a file of several megabytes. The file doesn't have to be tiny, though the smaller it is the better the performance. a 27MB file is incredibly too large by any standard, not just the viewer. Try aiming in the 8-10MB maximum range, if you must use large files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic