Skip to content

fix :prefer media content images over thumbnails - #1339

Open
Kumarkrishna123 wants to merge 1 commit into
ReadYouApp:mainfrom
Kumarkrishna123:fix/1177-prefer-media-content
Open

Kumarkrishna123 wants to merge 1 commit into
ReadYouApp:mainfrom
Kumarkrishna123:fix/1177-prefer-media-content

Conversation

@Kumarkrishna123

Copy link
Copy Markdown

Description

RSS entries containing both an image in media:content and a media:thumbnail currently use the thumbnail, which can produce blurry article previews.

Prefer a usable image-content URL before falling back to the existing thumbnail selection. Non-image media content is excluded.

Add regression tests for image-content priority, thumbnail fallback, video exclusion, and entries without media images.

Fixes #1177

Testing

  • Confirmed the image-priority regression test fails before the fix.
  • Confirmed RssHelperTest passes after the fix.
  • Ran :app:testGithubDebugUnitTest.
  • Ran git diff --check.

Device testing: [Describe what you actually tested, including any limitations.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should prefer media:content over media:thumbnail for images

1 participant