Skip to content

Conversation

@Sola-ris
Copy link
Contributor

@Sola-ris Sola-ris commented Sep 7, 2025

Summary

If an ePub contains no ComicInfo.xml the first image should be used as the fallback thumbnail.
Currently, the last image will be used due to a missing break after the first image is loaded.

Fixes #1051 (at least for zip based ePubs)

Before

before

After

after

Files used for testing

Again renamed because of GitHub upload limitiations.

Tasks Completed

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

Copy link
Collaborator

@Computerdores Computerdores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was about to mention this when @CyanVoxel merged the prior PR ^^

@CyanVoxel CyanVoxel added Type: UI/UX User interface and/or user experience Thumbs/Previews File thumbnails or previews labels Sep 7, 2025
@CyanVoxel CyanVoxel merged commit b216490 into TagStudioDev:main Sep 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Thumbs/Previews File thumbnails or previews Type: UI/UX User interface and/or user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect images used as cover previews for .cbr and .cbz files

3 participants