Old Reddit Auto-Expand Gallery & Show Thumbnails

Auto-expand the gallery and keep displaying the thumbnail grid to switch pictures.

As of 2025-05-27. See the latest version.

Author
C89sd
Ratings
0 0 0
Version
1.5
Created
2025-05-19
Updated
2025-05-27
Size
3.44 KB
License
N/A
Applies to

  1. Autoexpand/load and focus the first preview picture.
  2. Add a line return before the preview so it doesn't stack at the end.
  3. Add a thin separator line between the thumbnails and preview.
  4. Click a thumbnail to focus its picture.
  5. Make the thumbnails smaller and sort them by ratio.

Note: You can edit the code SORT_BY_ASPECT = false if the original image order matters to you. (You may want to disable updates so you dont loose that edit next update.)