Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Cant view large PDF files...
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Cant view large PDF files...
#63208
Cant view large PDF files... 6 Years, 6 Months ago Karma: 0
Hi There,

We've been using ARI Fancy Lightbox just fine for most of our PDF views, but recently we ran into a couple larger documents the PDF viewer will not load. One was 11MB and the other was 12MB. I downsized one to 4MB and it worked just fine. The other won't get smaller than 9MB, and the system still won't view it. I get this error:

"Invalid or corrupted PDF file
PDF.js v1.7.0 (build: ?)
Message: Invalid PDF structure"

Is there any way to change the settings so the document will work in the lightbox?

Or, is there any way to disable the lightbox if the file is too large? I tried making the link a direct download link and it still forces the document to try and open in the lightbox plugin.

Let me know.

Thanks!

Katie
The administrator has disabled public write access.
 
#63209
Re:Cant view large PDF files... 6 Years, 6 Months ago Karma: 760
Hello,

It is possible to disable lightbox if add "no-lightbox" CSS class to a link. It will look like:

Code:


<a href="doc.pdf" class="no-lightbox">Doc</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1