Skip to content

Conversation

@t-my
Copy link
Contributor

@t-my t-my commented Jan 16, 2026

Features

  • Adds automatic downloading of missing card images when they are first displayed, eliminating the need for users to manually download all images upfront via the bulk download dialog
  • Card panels automatically refresh to show newly downloaded images without requiring user interaction
  • Rate limiting (300ms between API calls) to respect Scryfall API limits
  • Duplicate prevention - cards are only downloaded once.
  • New preference checkbox "Download missing images automatically" in the Images tab (disabled by default, opt-in)
  • Card panels register listeners to auto-refresh when their image becomes available

Test plan

  • Enable "Download missing images automatically" in Preferences → Images
  • Open a deck or game with cards that don't have local images
  • Disable the preference and verify no automatic downloads occur

Video in action

download-on-demand.mp4

t-my added 2 commits January 13, 2026 12:34
Adds automatic downloading of missing card images when they are first
displayed, eliminating the need for users to manually download all
images upfront via the bulk download dialog.

Features:
- New OnDemandImageDownloader singleton service that downloads missing
  images in the background using Scryfall (normal quality)
- Rate limiting (300ms between API calls) to respect Scryfall limits
- Duplicate prevention - cards are only downloaded once per session
- New preference checkbox "Download missing images automatically"
  in the Images tab (disabled by default, opt-in)

When enabled, missing card images are queued for download when the
ImageCache detects a cache miss. Images appear automatically once
downloaded.
Card panels now register listeners with OnDemandImageDownloader to
automatically refresh when their image is downloaded. Listener
registration is gated by the auto-download preference setting.
@JayDi85 JayDi85 self-assigned this Jan 16, 2026
@xenohedron
Copy link
Contributor

Thanks for working on this, great feature enhancement for the user experience

@JayDi85 JayDi85 changed the title On demand image download [do not merge] On demand image download Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants