1. Home
  2. Docs
  3. DearFlip jQuery Flipbook Plugin
  4. Support and FAQs

Support and FAQs

How do I get faster support and help?

We recommend to contact through the contact form in our CodeCanyon Profile page. You can leave a comment in the comment section too, But that will be a bit slower and has limitation with sharing extra info like screenshots and private information like website URL.

Before contacting us, please make sure that you:

  1. Read the documentation carefully,
  2. See this Support FAQs

If you didn’t find answer to your problem, please ask your question on the item discussion page or send us a private message from our CodeCanyon profile page and we will reply via email.

IMPORTANT! 
For the fast troubleshooting, please send us detailed information about the issue. Also, make sure that you don’t forget to send us your site url where you are using / want to use the item. Please note, that we cannot troubleshoot efficiently from screen-shots.

Please take some time until we respond (usually in 24 – 48 hours).

PDF and FlipBook Loading issues:

Why is the PDF loading slowly?

By default, the plugin support partial loading inbuilt. but for that you need to make sure partial loading is not disabled. Normally, as default, partial loading is supported out of the box. But, in cases where gzip is enabled for PDF then the partial loading won’t work.

Disable gzip for PDF in .htaccess file.

<IfModule mod_headers.c>
    <FilesMatch "\.pdf$">
        RewriteRule ^(.*)$ $1 [NS,E=no-gzip:1,E=dont-vary:1]
    </FilesMatch>
</IfModule>

Further Reading at StackOverFlow https://stackoverflow.com/questions/9249243/how-to-disable-apache-gzip-compression-for-some-media-files-in-htaccess-file

Also Make sure your PDF is Web optimized. 50MB for 10 pages is not good for web use.. Optimize the PDF and make it as small as 5MB or less. Maybe this can be useful: https://www.iskysoft.com/edit-pdf/optimize-pdf-mac.html

There is CORS (Cross Origin) issue and PDF is not loading!

This occurs when the file and page are in HTTP and https mixed protocol. This is a result of improper https redirection. We recommend using proper setup to redirect every HTTP request to https to avoid any conflict.

If you are using the file from another domain, make sure you have proper CORS setup done in the another domain. For Apache Server, add following lines in .htaccess file

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

Customization

How to change thumb size for lightbox popups?

You can change the thumb size by using Custom CSS.

._df_thumb{
    width:240px;
    height:360px;
}

How to change the color of Bookmark / Outline?

You can use Custom CSS to change the color of the outline/bookmark
.df-outline-item {
    color: red;
}

How to change color of links in the flipbook?

The links in the PDF are auto-detected an d highlighted in yellow as default. To change the color you can either make the highlight transparent to hide the yellow highlight or change the color to another.
/* Make the highlight transparent - no color */

section.linkAnnotation a, a.linkAnnotation, a.customLinkAnnotation, .customHtmlAnnotation, .customVideoAnnotation{
    opacity:0; 
}

/* Make the highlight color red */

section.linkAnnotation a, a.linkAnnotation, a.customLinkAnnotation, .customHtmlAnnotation, .customVideoAnnotation{ 
    background-color: red; 
}

How to remove Shadow from middle of the book?

In case of 2D Flipbook use custom CSS. and set opacity as desired, 0 for no shadow.

.df-page-front:before, .df-page-back:before {
    opacity: 0;
}

In case of 3D flipbook, use the stiffness setting. Stiffness defines the curve in the page. 0 is absolute flat – close to hard page flat; value 1 is curvy,2 is less curvy, default is 3. higher value will result in flatter look like setting the value to 0

var book_option = {stiffness:0};

If you want that for all book in the page, then use default settings.

DFLIP.defaults.stiffness = 0;

Was this article helpful to you? Yes No

Leave a Reply