Old Reddit Auto-Expand Gallery & Show Thumbnails

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

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

Author
C89sd
Ratings
0 0 0
Version
1.6
Created
2025-05-19
Updated
2025-05-30
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.

Edit: Changed the default back to unsorted.
If original image order doesn't matters to you, set SORT_BY_ASPECT = true for a more compact display. (You may want to disable updates so you dont loose that edit next update.)