{"id":373149,"date":"2026-09-25T08:48:49","date_gmt":"2026-09-25T08:48:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/zinejs-flipbook\/"},"modified":"2026-09-25T08:48:19","modified_gmt":"2026-09-25T08:48:19","slug":"zinejs-flipbook","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zinejs-flipbook\/","author":23571189,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.2","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"zinejs Flipbook","header_author":"zinejs","header_description":"A real page-flip reader for PDFs and images, via a block or the [zinejs] shortcode.","assets_banners_color":"","last_updated":"2026-09-25 08:48:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/awecode\/zinejs","header_author_uri":"https:\/\/zinejs.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":36,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"isdipesh","date":"2026-09-25 08:48:19","revision":3712697}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"zinejs\/pdf-flipbook":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"zinejs\/pdf-flipbook","title":"Zine PDF Flipbook","category":"media","icon":"media-document","description":"Turn a PDF into an interactive page-flip book.","keywords":["flipbook","pdf","book","magazine","zine"],"textdomain":"zinejs-flipbook","editorScript":"zinejs-block","editorStyle":"zinejs","attributes":{"url":{"type":"string","default":""},"frontCover":{"type":"string","default":""},"backCover":{"type":"string","default":""},"spreadMode":{"type":"string","default":"cover"},"direction":{"type":"string","default":"ltr"},"fit":{"type":"string","default":"contain"},"responsiveSpread":{"type":"boolean","default":true},"singlePageThreshold":{"type":"string","default":""},"maxWidth":{"type":"string","default":""},"aspect":{"type":"string","default":"auto"},"clickToFlip":{"type":"string","default":"edge"},"curl":{"type":"string","default":"cone"},"flipDuration":{"type":"string","default":""},"startPage":{"type":"number","default":0},"zoomEnabled":{"type":"boolean","default":true},"zoomMax":{"type":"string","default":""},"zoomWheel":{"type":"boolean","default":true},"zoomDoubleClick":{"type":"boolean","default":true},"controls":{"type":"boolean","default":true},"controlsPosition":{"type":"string","default":"bottom"},"controlsArrows":{"type":"boolean","default":true},"controlsColorScheme":{"type":"string","default":"auto"},"contextMenu":{"type":"boolean","default":true},"loading":{"type":"boolean","default":true},"hints":{"type":"boolean","default":true},"sound":{"type":"boolean","default":false},"soundVolume":{"type":"string","default":""},"soundMuted":{"type":"boolean","default":false},"soundPersist":{"type":"boolean","default":false},"deepLink":{"type":"boolean","default":true},"allowDownload":{"type":"boolean","default":true},"allowPrint":{"type":"boolean","default":true},"allowShare":{"type":"boolean","default":true}},"supports":{"html":false,"align":["wide","full"]}},"zinejs\/image-flipbook":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"zinejs\/image-flipbook","title":"Zine Image Flipbook","category":"media","icon":"images-alt2","description":"Turn a set of images into an interactive page-flip book.","keywords":["flipbook","images","gallery","book","zine"],"textdomain":"zinejs-flipbook","editorScript":"zinejs-block","editorStyle":"zinejs","attributes":{"images":{"type":"array","default":[]},"imageIds":{"type":"array","default":[]},"frontCover":{"type":"string","default":""},"backCover":{"type":"string","default":""},"spreadMode":{"type":"string","default":"cover"},"direction":{"type":"string","default":"ltr"},"fit":{"type":"string","default":"contain"},"responsiveSpread":{"type":"boolean","default":true},"singlePageThreshold":{"type":"string","default":""},"maxWidth":{"type":"string","default":""},"aspect":{"type":"string","default":"auto"},"clickToFlip":{"type":"string","default":"edge"},"curl":{"type":"string","default":"cone"},"flipDuration":{"type":"string","default":""},"startPage":{"type":"number","default":0},"zoomEnabled":{"type":"boolean","default":true},"zoomMax":{"type":"string","default":""},"zoomWheel":{"type":"boolean","default":true},"zoomDoubleClick":{"type":"boolean","default":true},"controls":{"type":"boolean","default":true},"controlsPosition":{"type":"string","default":"bottom"},"controlsArrows":{"type":"boolean","default":true},"controlsColorScheme":{"type":"string","default":"auto"},"contextMenu":{"type":"boolean","default":true},"loading":{"type":"boolean","default":true},"hints":{"type":"boolean","default":true},"sound":{"type":"boolean","default":false},"soundVolume":{"type":"string","default":""},"soundMuted":{"type":"boolean","default":false},"soundPersist":{"type":"boolean","default":false},"deepLink":{"type":"boolean","default":true},"allowDownload":{"type":"boolean","default":true},"allowPrint":{"type":"boolean","default":true},"allowShare":{"type":"boolean","default":true}},"supports":{"html":false,"align":["wide","full"]}}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"A two-page PDF spread rendered by the PDF Flipbook block.","2":"An image flipbook with the built-in reader toolbar."}},"plugin_section":[],"plugin_tags":[27449,8397,21240,1764,747],"plugin_category":[41,50],"plugin_contributors":[282679],"plugin_business_model":[],"class_list":["post-373149","plugin","type-plugin","status-publish","hentry","plugin_tags-flipbook","plugin_tags-magazine","plugin_tags-page-flip","plugin_tags-pdf","plugin_tags-viewer","plugin_category-communication","plugin_category-media","plugin_contributors-isdipesh","plugin_committers-isdipesh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/zinejs-flipbook.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>zinejs Flipbook embeds a fast, GPU-accelerated page-flip reader in your posts and pages. Point it at a\nPDF from your Media Library and readers can flip, zoom, and page through it like a real book. A CSS\nfallback keeps it working on devices without WebGL.<\/p>\n\n<p>Ways to add a flipbook:<\/p>\n\n<ul>\n<li>The <strong>Zine PDF Flipbook<\/strong> block: pick a PDF and set options in the editor.<\/li>\n<li>The <strong>Zine Image Flipbook<\/strong> block: pick a set of images.<\/li>\n<li>The <strong>[zinejs] shortcode<\/strong>: for the Classic editor, theme templates, and page builders.<\/li>\n<\/ul>\n\n<p>The engine and pdf.js are bundled with the plugin, and the scripts are enqueued only on pages that actually contain a flipbook.<\/p>\n\n<h4>Shortcode<\/h4>\n\n<pre><code>[zinejs pdf=\"https:\/\/example.com\/brochure.pdf\" spread=\"cover\" curl=\"silk\" controls-position=\"top\"]\n<\/code><\/pre>\n\n<p>The shortcode accepts the same options as the blocks. Source: <code>pdf<\/code> (URL) or <code>images<\/code>\n(comma-separated URLs). Layout: <code>spread<\/code> (cover | double | single | book), <code>direction<\/code> (ltr | rtl),\n    fit (contain | fill), <code>responsive<\/code> (true | false), <code>threshold<\/code> (px), <code>max-width<\/code> (px), <code>aspect<\/code>\n(e.g. 3\/2, or auto). Interaction: <code>click-to-flip<\/code> (edge | half | off), <code>curl<\/code> (cone | simple | roll\n| leaf | flick | silk), <code>flip-duration<\/code> (ms), <code>start-page<\/code> (0-based). Zoom: <code>zoom<\/code> (true | false),\n    zoom-max, <code>zoom-wheel<\/code>, <code>zoom-double-click<\/code>. Controls: <code>controls<\/code> (true | false),\n    controls-position (top | bottom | left | right), <code>controls-scheme<\/code> (auto | light | dark),\n    controls-arrows, <code>context-menu<\/code>, <code>loading<\/code>, <code>hints<\/code>, <code>deep-link<\/code>. Permissions: <code>allow-download<\/code>,\n    allow-print, <code>allow-share<\/code>. Covers: <code>front-cover<\/code> (URL), <code>back-cover<\/code> (URL). Sound: <code>sound<\/code>\n(true | false), <code>sound-volume<\/code> (0..1), <code>sound-muted<\/code>, <code>sound-persist<\/code>.<\/p>\n\n<p>By default the book drops to one page per spread when its container is narrower than 500px\n(<code>threshold<\/code>), so it stays readable on phones and in narrow theme columns. If your column is narrow\nbut you still want two-page spreads (for example in <code>cover<\/code> mode), set <code>responsive=\"false\"<\/code>, or use\nthe block's Wide\/Full alignment to give it more room.<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is free and open source, licensed under the GNU GPL v2 or later. The zinejs engine it\nbundles is distributed here under the same GPL license, and its source is available at\nhttps:\/\/github.com\/awecode\/zinejs (the engine is dual-licensed; other editions exist at\nhttps:\/\/zinejs.com). Bundled pdf.js is licensed under Apache-2.0; its source is at\nhttps:\/\/github.com\/mozilla\/pdf.js.<\/p>\n\n<p>The plugin's own code is unminified and readable. The bundled <code>assets\/vendor\/*<\/code> files are built from\nthe sources above; see the repository for the build steps.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>zinejs-flipbook<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin through the Plugins\nscreen in WordPress.<\/li>\n<li>Activate it through the Plugins screen.<\/li>\n<li>Add a \"Zine Flipbook\" block to a post or page, or use the <code>[zinejs]<\/code> shortcode.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20show%20more%20than%20one%20flipbook%20on%20a%20page%3F\"><h3>Can I show more than one flipbook on a page?<\/h3><\/dt>\n<dd><p>Yes. Add multiple blocks or shortcodes; each mounts independently.<\/p><\/dd>\n<dt id=\"the%20pdf%20does%20not%20render%20on%20my%20server\"><h3>The PDF does not render on my server<\/h3><\/dt>\n<dd><p>pdf.js loads its worker as an ES module. A few servers serve <code>.mjs<\/code> files with the wrong MIME type,\nwhich blocks the worker. If pages stay blank, add this to your server config (Apache <code>.htaccess<\/code>):<\/p>\n\n<pre><code>AddType text\/javascript .mjs\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Two blocks (PDF and Images) plus the [zinejs] shortcode, with the full zinejs option set.<\/li>\n<\/ul>","raw_excerpt":"A real page-flip reader for PDFs and images, via a block or the [zinejs] shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/373149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=373149"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/isdipesh"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=373149"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=373149"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=373149"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=373149"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=373149"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=373149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}