# Creating Flipbook

Once you have Flipbook plugin activated you can start creating flipbooks.

### Step 1. Create a Flipbook Post

Click on the ‘**Real3D Flipbook**’ > ‘**Add new**’

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2F1MNvKVDhfN88VQT0rfG3%2FScreenshot%202024-05-07%20at%2012.39.27.png?alt=media&#x26;token=61396e16-3d55-4b24-9ec4-12a71f57a7ae" alt=""><figcaption></figcaption></figure>

### Step 2. Add images or PDF as source

Click on the **Select PDF or images** button&#x20;

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2F2D5TSHaU5a1hK0LxYKY6%2FScreenshot%202024-05-07%20at%2012.16.16.png?alt=media&#x26;token=4956edbb-36a8-45fc-bb74-e189fd478a31" alt=""><figcaption></figcaption></figure>

Select PDF form media library

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2FUUPAzKZrG8lDfy6zdB0s%2FScreenshot%202024-05-08%20at%2012.35.06.png?alt=media&#x26;token=473e759f-bbda-44c7-ace9-cdf49a05dd61" alt=""><figcaption></figcaption></figure>

or select images (multiple images can be selected at once)

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2FZJOwzz7Qx2GvBhre4kOW%2FScreenshot%202024-05-08%20at%2012.27.13.png?alt=media&#x26;token=82fc5b5a-6172-42e0-b9e9-abfeb7a45367" alt=""><figcaption></figcaption></figure>

and click **Send to Flipbook.**

### Step 3. Publish Flipbook Post

Click on the **Publish** button to publish the flipbook post.

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2FFVDcDRWnN4e9pOMSUV5I%2FScreenshot%202024-05-08%20at%2012.36.40.png?alt=media&#x26;token=7c415b57-f43d-44bb-b4f2-f9e71ec3e0dd" alt=""><figcaption></figcaption></figure>

After the post has been published you can preview the flipbook, view the flipbook post (Permalink) or copy the Shortcode to embed the flipbook in a post or page.

<figure><img src="https://2435222157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tyfllgmAdN2gNFTSCCd%2Fuploads%2FwJ8pfW1uQ3tL7kpmx2m6%2FScreenshot%202024-05-08%20at%2012.38.22.png?alt=media&#x26;token=c1d62246-1e8c-4482-a13d-2b9b88868ec6" alt=""><figcaption></figcaption></figure>

## **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](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/](https://aws.amazon.com/premiumsupport/knowledge-center/s3-configure-cors/)

## **Fast PDF loading**&#x20;

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**.

## <mark style="color:blue;">Optimized PDF Flipbook with PDF Tools addon (for Real3D Flipbook PRO)</mark>

With [PDF Tools](https://codecanyon.net/item/pdf-tools-for-real3d-flipbook/25800032) addon, (requires [Real3D Flipbook Pro](https://codecanyon.net/item/real3d-flipbook-wordpress-plugin/6942587)),  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**](https://codecanyon.net/item/pdf-tools-for-real3d-flipbook/25800032?aso=docs)
