Attachment Preview

Attachment Preview

by PARADOX • 0 Stars • 14 Downloads Featured
It adds a preview button for image/gif attachments with a lightbox overlay.
Download
Login
Get Support Report
Change Log
STABLE 1.2.0 Jun 27, 2026
1.2.0 - Fixed: flicker/flash during slide transitions — new image is pre-positioned at animation start state before being added to the DOM - Fixed: thumbnails in "Thumbnail" display mode (`attachthumbnails=yes`) now open in the lightbox instead of a new tab - Fixed: selector bug where `.postbit_attachments_thumbnails` was used as a CSS class (it is a template name, not rendered in HTML) - Added: `data-ap-enhanced` guard to prevent duplicate event listeners on MutationObserver re-scans - Added: click left/right side of image to navigate prev/next - Added: touch swipe left/right to navigate between images - Added: `user-select: none`, `-webkit-touch-callout: none`, `-webkit-tap-highlight-color: transparent` on close and nav buttons to prevent text selection and mobile tap highlight flash - Removed: all `THIS_SCRIPT` filtering — plugin now works on every page that has attachments
STABLE 1.1.0 Jun 27, 2026
## 1.1.0 - Fixed: flicker/flash during slide transitions — new image is pre-positioned at animation start state before being added to the DOM - Fixed: thumbnails in "Thumbnail" display mode (`attachthumbnails=yes`) now open in the lightbox instead of a new tab - Fixed: selector bug where `.postbit_attachments_thumbnails` was used as a CSS class (it is a template name, not rendered in HTML) - Added: `data-ap-enhanced` guard to prevent duplicate event listeners on MutationObserver re-scans - Removed: all `THIS_SCRIPT` filtering — plugin now works on every page that has attachments

Login

×

Choose Your Theme