{"id":211851,"date":"2025-04-22T17:55:32","date_gmt":"2025-04-22T17:55:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pdf-gallery-viewer\/"},"modified":"2026-01-01T20:05:47","modified_gmt":"2026-01-01T20:05:47","slug":"pdf-gallery-viewer","status":"publish","type":"plugin","link":"https:\/\/oci.wordpress.org\/plugins\/pdf-gallery-viewer\/","author":23170109,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6.3","stable_tag":"1.6.3","tested":"6.7.5","requires":"6.0","requires_php":"7.2","requires_plugins":null,"header_name":"PDF Gallery Viewer","header_author":"<a href=\"https:\/\/sergiocomella.it\">Panezio<\/a>","header_description":"A WordPress plugin that creates a responsive PDF gallery with thumbnail previews.","assets_banners_color":"d6dbe0","last_updated":"2026-01-01 20:05:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":100,"downloads":1554,"num_ratings":1,"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":"panezio923","date":"2025-04-22 17:55:47"},"1.2.0":{"tag":"1.2.0","author":"panezio923","date":"2025-05-02 16:33:18"},"1.2.1":{"tag":"1.2.1","author":"panezio923","date":"2025-05-02 16:33:18"},"1.3.0":{"tag":"1.3.0","author":"panezio923","date":"2025-05-02 16:35:29"},"1.4.0":{"tag":"1.4.0","author":"panezio923","date":"2025-06-13 09:57:31"},"1.6.2":{"tag":"1.6.2","author":"panezio923","date":"2026-01-01 19:55:30"},"1.6.3":{"tag":"1.6.3","author":"panezio923","date":"2026-01-01 20:05:47"}},"upgrade_notice":{"1.6.0":"<p>Manual ordering is now managed by admins and saved server-side (same order for all visitors). Gutenberg block now uses a stable container id.<\/p>","1.5.0":"<p>Adds sorting controls, manual drag &amp; drop ordering, and FIFO\/LIFO behavior for new items in manual mode.<\/p>","1.3.0":"<p>Adds dynamic galleries, new layout selector, slider, and UI improvements.<\/p>","1.2.1":"<p>Font Awesome icons added.<\/p>","1.2.0":"<p>Major front-end upgrade. Imagick removed. Modal viewer added.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3285216,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3285215,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"pdf-gallery\/pdf-multi-block":{"apiVersion":2,"name":"pdf-gallery\/pdf-multi-block","title":"PDF Gallery (Multiplo)","category":"media","icon":"media-document","description":"Inserisci una galleria PDF con pi\u00f9 documenti.","supports":{"html":false},"attributes":{"galleryId":{"type":"string","default":""},"items":{"type":"array","default":[]},"layout":{"type":"string","default":"grid"},"ui":{"type":"boolean","default":true}},"editorScript":"pdf-gallery-editor"}},"tagged_versions":["1.0.0","1.2.0","1.2.1","1.3.0","1.4.0","1.6.2","1.6.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3286368,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3286368,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3286368,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3286368,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3286368,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3286368,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Responsive gallery grid layout","2":"Modal viewer with zoom and navigation controls","3":"Slider layout (Swiper.js)","4":"Gutenberg block editor","5":"Tooltip and truncated titles"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[210,229,613,1764,606],"plugin_category":[50],"plugin_contributors":[241195],"plugin_business_model":[],"class_list":["post-211851","plugin","type-plugin","status-publish","hentry","plugin_tags-gallery","plugin_tags-javascript","plugin_tags-modal","plugin_tags-pdf","plugin_tags-responsive","plugin_category-media","plugin_contributors-panezio923","plugin_committers-panezio923"],"banners":{"banner":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/banner-772x250.png?rev=3285215","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/icon-128x128.png?rev=3285216","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-1.png?rev=3286368","caption":"Responsive gallery grid layout"},{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-2.png?rev=3286368","caption":"Modal viewer with zoom and navigation controls"},{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-3.png?rev=3286368","caption":"Slider layout (Swiper.js)"},{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-4.png?rev=3286368","caption":"Gutenberg block editor"},{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-5.png?rev=3286368","caption":"Tooltip and truncated titles"},{"src":"https:\/\/ps.w.org\/pdf-gallery-viewer\/assets\/screenshot-6.png?rev=3286368","caption":""}],"raw_content":"<!--section=description-->\n<p>PDF Gallery Viewer allows you to easily embed PDF galleries with live previews. It uses PDF.js to render the first page of each PDF directly in the browser, without relying on server-side libraries like Imagick. Each item includes a customizable title and a \u201cView\u201d button that opens the PDF in a modal viewer.<\/p>\n\n<p>The layout is responsive and adapts from a multi-column grid to a single-column stack on smaller screens.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li>Live thumbnail of first PDF page (via PDF.js)<\/li>\n<li>Responsive layouts (Grid, List, or Slider)<\/li>\n<li>Modal viewer with zoom, navigation, and download<\/li>\n<li>Gutenberg block with layout selector and drag-and-drop file integration<\/li>\n<li>Tooltip + truncation for long titles<\/li>\n<li>Dynamic shortcode generation by category, tag, or post<\/li>\n<li>Sorting UI (Title \/ Filename \/ Manual drag &amp; drop)<\/li>\n<li>Manual ordering with FIFO\/LIFO behavior for newly added items<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Basic usage:<\/p>\n\n<p>[pdf_gallery url=\"https:\/\/example.com\/doc.pdf\" title=\"Document Title\"]<\/p>\n\n<p>Multiple items in a container:<\/p>\n\n<p>[pdf_gallery_container layout=\"grid\"]\n[pdf_gallery url=\"...\" title=\"...\"]\n[pdf_gallery url=\"...\" title=\"...\"]\n[\/pdf_gallery_container]<\/p>\n\n<p>Sorting \/ ordering:<\/p>\n\n<p>[pdf_gallery_container layout=\"grid\" order_by=\"title\" order=\"asc\" ui=\"1\"]\n...\n[\/pdf_gallery_container]<\/p>\n\n<p>Manual ordering (UI drag &amp; drop) with FIFO\/LIFO for newly added items:<\/p>\n\n<p>[pdf_gallery_container id=\"my-gallery\" layout=\"grid\" order_by=\"manual\" manual_mode=\"fifo\" ui=\"1\"]\n...\n[\/pdf_gallery_container]<\/p>\n\n<p>IMPORTANT: Manual ordering is managed by admins and saved server-side (post meta) so the order is the same for all visitors.\nFor reliable persistence, always set a stable id=\"...\" on each container (the Gutenberg block does this automatically).<\/p>\n\n<p>Dynamic by category:<\/p>\n\n<p>[pdf_gallery_container category=\"brochures\" layout=\"slider\"]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/pdf-gallery-viewer\/<\/code><\/li>\n<li>Activate it via the WordPress Plugins menu<\/li>\n<li>Use the <code>[pdf_gallery]<\/code> or <code>[pdf_gallery_container]<\/code> shortcodes in posts or pages<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20require%20imagick%3F'><h3>Does this plugin require Imagick?<\/h3><\/dt>\n<dd><p>No. Previews are generated client-side using PDF.js.<\/p><\/dd>\n<dt id='will%20this%20work%20on%20mobile%3F'><h3>Will this work on mobile?<\/h3><\/dt>\n<dd><p>Yes, all layouts and the modal are responsive.<\/p><\/dd>\n<dt id='can%20i%20add%20multiple%20pdfs%3F'><h3>Can I add multiple PDFs?<\/h3><\/dt>\n<dd><p>Yes, using either multiple shortcodes or the Gutenberg block.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Fixed: disabled UI order controls<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Added filename visibility in Gutenberg block selection list<\/li>\n<li>Added numeric ordering for PDFs (admin-defined, persistent)<\/li>\n<li>Removed FIFO\/LIFO ordering logic<\/li>\n<li>Fixed manual ordering issues in block editor<\/li>\n<li>Fixed frontend sorting UI buttons not working<\/li>\n<li>Improved list view readability (title + actions layout)<\/li>\n<li>General UI\/UX refinements and accessibility improvements<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Added sorting UI (Title \/ Filename \/ Manual)<\/li>\n<li>Added admin-managed manual ordering via drag &amp; drop (saved server-side, same order for everyone)<\/li>\n<li>Added FIFO\/LIFO option for newly added items when manual ordering is enabled<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Added dynamic gallery support by category, tag, and post ID<\/li>\n<li>Added layout selector: Grid, List, Slider<\/li>\n<li>Integrated Swiper.js for modern carousel layout<\/li>\n<li>Added title truncation and tooltips<\/li>\n<li>Improved shortcode output and styling<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Integrated Font Awesome for icons<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Removed Imagick dependency<\/li>\n<li>Live thumbnail previews using PDF.js<\/li>\n<li>Modal viewer with zoom, navigation, and download<\/li>\n<li>Initial Gutenberg block with visual editing<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A simple plugin that creates a responsive PDF gallery with live thumbnail previews and a modal PDF viewer.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/211851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=211851"}],"author":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/panezio923"}],"wp:attachment":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=211851"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=211851"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=211851"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=211851"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=211851"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=211851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}