Skip to content

Conversation

@Sola-ris
Copy link
Contributor

@Sola-ris Sola-ris commented Nov 8, 2025

Summary

Display the first image contained in an archive as the thumbnail.

This functionality already existed for ePubs, so I've expanded it to the known archive file types.
I've left out .gz files since they're not guaranteed to be (tar) archives and could just be random compressed data.

Closes #1044

Before

before

After

after

File used for testing

testFiles.zip
Contains multiple archive types, packed to avoid uploading 14 different files and to get around GitHub's file type limitations.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added Type: UI/UX User interface and/or user experience Status: Review Needed A review of this is needed Thumbs/Previews File thumbnails or previews labels Nov 8, 2025
@CyanVoxel CyanVoxel moved this to 🏓 Ready for Review in TagStudio Development Nov 8, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5.x milestone Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Review Needed A review of this is needed Thumbs/Previews File thumbnails or previews Type: UI/UX User interface and/or user experience

Projects

Status: 🏓 Ready for Review

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Thumbnail preview to .Zip files

2 participants