viewer.js icon indicating copy to clipboard operation
viewer.js copied to clipboard

Force PNG fallback for specific pages

Open lakenen opened this issue 10 years ago • 2 comments

See: https://github.com/box/viewer.js/issues/147#issuecomment-66936772 for more info.

lakenen avatar Feb 18 '15 16:02 lakenen

@lakenen With the latest library (didn't try earlier versions), I am getting 404 for all pages after page 1 when using the PNG fallback... any ideas?

chipkellam avatar Jun 22 '15 23:06 chipkellam

Yes! You will need to specify the non_svg flag for conversions, otherwise only page one will have a PNG generated (used for thumbnails). https://developers.box.com/view/#non-svg

lakenen avatar Jul 06 '15 16:07 lakenen