![]() |
|
Attachment Preview - Printable Version +- MyBBhub (https://mybbhub.shop) +-- Forum: Plugins (https://mybbhub.shop/forumdisplay.php?fid=8) +--- Forum: Free Plugins (https://mybbhub.shop/forumdisplay.php?fid=21) +--- Thread: Attachment Preview (/showthread.php?tid=246) |
Attachment Preview - PARADOX - 26-06-2026 Attachment Preview
It adds a preview button for image/gif attachments with a lightbox overlay. The plugin adds a "Preview" button next to every image/GIF attachment in posts, upload areas, and thumbnails. When clicked, it opens a full-size lightbox overlay so you can view the image without leaving the page. If there are multiple image attachments, Prev/Next buttons appear to cycle through them, and you can also use the keyboard arrow keys or press Escape to close. It works automatically on any page that shows attachments—forum threads, new thread/reply forms, edit post pages, search results, profiles, etc. The admin can control the maximum image width and whether thumbnails get the lightbox treatment too. No template modifications are needed—it's all handled through plugin hooks and JavaScript. |