4chan Gallery

4chan grid-based image gallery with zoom mode support for threads that allows you to browse images, and soundposts (images with sounds, webms with sounds) along with other utility features.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
MahdeenSky
일일 설치수
3
총 설치수
553
평점
6 1 0
버전
2024-08-09 (2.8)
생성
2024-03-26
갱신
2024-08-10
라이선스
GNU GPLv3
동작 사이트

4chan Gallery GIF

Enhance your browsing experience on 4chan and it's various archival sites/mirrors with the Ultimate 4chan gallery script! This powerful script adds a convenient "Open Image Gallery" button to threads on these imageboards. When clicked, the button opens an image gallery that displays all images, GIFs, and videos (with or without sound) from the thread in a responsive grid format, making it easy to view and navigate through the media content.

Key Features:

  • Automatically detects and loads media content from the thread, including images, GIFs, and videos (WebM).
  • Automatically opens and closes the gallery using the "i" key.
  • Supports archival sites "warosu.org", "archived.moe", and "archive.palanq.win".
  • Dark mode compatibility for a seamless browsing experience.
  • Resizable grid of media with scrollbars for easy navigation.
  • Image, GIF, and video playback with sound support (if available).
  • Play/pause button for images with sound (sound posts) + Play sound on hover enabled.
  • Ability to toggle between "All" mode (images, GIFs, and videos) and "WebM & Images with Sound" mode.
  • Option to enable auto-play and loop for WebMs without sound (like GIFs).
  • "View Post" button to jump to the original post in the thread.
  • Support for viewing media from multiple expired threads simultaneously (from the /archive page).
  • Reverse image search buttons (SauceNAO, Google Lens, Yandex) in zoom mode.
  • Image/video filename display at the top-left corner in zoom mode.
  • Image/video counter over total display at the bottom-right corner in zoom mode.
  • Download buttons for the current image/video and associated audio file (if available) in zoom mode.
  • Keyboard navigation (left and right arrow keys) to move between images/videos in zoom mode.
  • Loads thumbnails initially + Lazy loading of media for better performance.
  • Tooltips to display the comment over the media in the gallery (hover over it for a second).
  • Allows you to merge and download soundposts (video/image + audio) in one file with a special proxy.

Changelog:

  • 2024-08-09 (2.8): Added Placeholder image "Open Zoom Mode" to open zoom made, even when there are no images in the grid. Fixed bug with deleted warosu.org posts, where they don't show up. Added support for find mode in archived sites.

  • 2024-07-26 (2.7): Added View Post Button within Zoom Mode, and a new experimental tool (Download Encoded Sound Post button) that uses my 4chan encoder proxy to merge videos/images and audio together into one video, to be downloaded (Limited to < 4 minutes), which is experimental because it might be removed, depending on how used it is. Fixed a bug where thumbnails of videos don't show up in Zoom Mode. Fixed bug where spoilered messages were not identified as videos, when 4chanX is not installed.

  • 2024-06-08 (2.5): Zooming/browsing through images on the zoomed mode, now loads the high res version of the image permanently. Implemented dedicated settings menu (top right in gallery). Loads thumbnails by default (to load faster, can be disabled by checking high res images only in settings). Gallery by default now loads atleast 3 columns and 2 rows. Added support for archival sites "archived.moe" and "archive.palanq.win". Close button in gallery now moved to the bottom right (from top-right). Fixed bugs where pressing "i" opens gallery even when typing a reply. View post button (was broken) now redirects to the exact comment on threads, even on the /archive page.

  • 2024-06-05 (2.0): Added zoom mode (Zooms the image/gif by left clicking them). Added support for archive site "warosu.org", reverse image search buttons (saucenao, google lens, yandex), image/video filenames and media counter over total display, download buttons for video and audio (if available), gallery like keyboard navigation (using left and right keys in zoom mode), darkened background on zoom, and performance optimizations. Removed play/pause button for webms with sound (now supported by built in player). Fixed support with barebones 4chan, 4chanX and 4chanXT scripts.

  • 2024-03-30 (1.6): New Improved UI Design, added video thumbnails, Implemented Lazy Loading for Images/Videos which optimizes loading of mass number of media, added Tooltips with the comments embedded in the actual post, videos are unloaded until you hover over them.

  • 2024-03-29 (1.5): Added Gallery for the Archived Section at "https://boards.4chan.org/*/archive" which allows you to select multiple threads to view the media of at the same time, using Checkboxes.

  • 2024-03-26 (1.4): Fixed minor bug with loading WebM sounds when having 4chanX installed at the same time.

  • 2024-03-26 (1.3): Added button for toggling gallery of only WebMs, and another button for autoplaying/looping webms without sound (Turns off play on hover while toggled). Adds ability to seek/change duration bar on WebMs with audio, to sync the audio automatically. Retains scrollbar position, and gallery size upon closing gallery, until you go to another thread, and other major code improvements/optimizations.

  • 2024-03-26 (1.2): Fixed support for various 4chan boards.

  • 2024-03-26 (1.1): Supports Images, and WebMs, adds button for opening/closing gallery which displays a grid of images/webms.

  • 2024-03-26 (1.0): Script Creation.