PDF Flipbook

Creating flipbook from a PDF file

Step 1. Select tab 'Pages'

Step 2. Click "Select PDF" . Media library will open.

Step 3. Select or upload PDF file. Pages from pdf will be automatically added to flipbook.

Step 4. Publish flipbook.

PDF from another domain

For using PDF from another domain you need to enable CORS.

For Apache server, add following lines to .htaccess

Header set Access-Control-Allow-Origin "*" 
Header set Access-Control-Allow-Headers "Range" 
Header set Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"

More info https://enable-cors.org/server.html

For Amazon S3 add following JSON configuration for the bucket

[
    {
        "AllowedHeaders": [],
        "AllowedMethods": [
            "GET"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]

More info here https://aws.amazon.com/premiumsupport/knowledge-center/s3-configure-cors/

Fast PDF loading

PDF flipbook supports partial PDF download (it can display pages before entire PDF is downloaded). For that feature to work server needs to support range requests.

Optimized PDF Flipbook with PDF Tools addon

With PDF Tools you can create fastest loading PDF flipbook by converting PDF to images and JSON on the server. This flipbook will load pages faster because it will not load JS files required to process the PDF and it will load images and JSON from the server instead of loading and processing the PDF at runtime.

Flipbook created with PDF tools will still have PDF links, search and text selection working.

After you have created flipbook from PDF with PDF Tools, you can delete PDF from the server, which is the only real protection for your original PDF file.

Get PDF Tools for Real3D Flipbook Addon

Last updated