Texon Flipbook
WordPress plugin that turns any PDF into an interactive page-turn flipbook with clickable hotspots — self-hosted FlipSnack/Issuu alternative
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/rynoceris/texon-flipbook/archive/refs/heads/main.zipA WordPress plugin that turns any PDF catalog into an interactive page-turn flipbook with clickable hotspots — a self-hosted alternative to FlipSnack / Issuu.
Built for Texon Towel, but works with any PDF.
Features
- Realistic page-turn viewer powered by StPageFlip — smooth page curl, touch/swipe, keyboard arrows
- PDF → JPG pre-rendering via Ghostscript (preferred) or Imagick, so page loads are instant
- Clickable hotspots — draw rectangles over any page and point them at product URLs, categories, external sites; opens in a new tab
- Two embed modes — inline on a page, or a button that opens the flipbook in a full-screen modal
- Per-catalog hotspot editor — click-and-drag to draw, drag to move, drag corner to resize, right-click to delete, autosaves via AJAX
- URL → filesystem path auto-conversion — paste any PDF URL (media library URL, site-relative path, etc.) and the plugin resolves it to the correct server path
Requirements
- WordPress 5.5+
- PHP 7.4+
- Either Ghostscript (
/usr/bin/gs) OR the Imagick PHP extension (for PDF rendering)
Installation
- Download/clone into
wp-content/plugins/texon-flipbook/ - Activate Texon Flipbook in the WordPress admin
- Go to Flipbooks in the admin sidebar → Add New
Usage
Create a flipbook
- Flipbooks → Add New
- Title it (e.g., "2026 Product Guide")
- Paste the PDF URL or filesystem path into the PDF Path field, or click Choose from Media Library
- Save — the plugin renders all pages to JPGs (~1–2 seconds per page)
Add hotspots
- Click Edit Hotspots → from the edit screen
- Select a page from the dropdown
- Click and drag on the page to draw a hotspot
- Enter the destination URL when prompted
- Click a hotspot to edit its URL, drag to move, drag the handle to resize, right-click to delete
- Changes autosave
Embed on a page
Use one of these shortcodes:
[texon_flipbook id="123"]
[texon_flipbook id="123" height="800"]
[texon_flipbook id="123" trigger="button" label="Browse Our 2026 Catalog"]
id— the flipbook ID (shown on the Flipbooks list screen)trigger—inline(default) orbutton(opens in a modal)label— button text whentrigger="button"height— inline embed height in px (default:700)
Architecture
texon-flipbook.php— main plugin bootstrapincludes/class-post-type.php—texon_flipbookcustom post type for storing flipbooksincludes/class-renderer.php— PDF → JPG rendering (Ghostscript or Imagick)includes/class-admin.php— admin screens, AJAX save, URL/path normalizationincludes/class-shortcode.php—[texon_flipbook]shortcodeassets/flipbook.js/.css— front-end viewerassets/admin.js/.css— admin hotspot editorvendor/page-flip.browser.js— StPageFlip v2.0.7 (MIT)
Hotspots are stored as percentages (0–1) of page dimensions, so they stay accurate at any viewer size.
License
MIT