Page MenuHomePhabricator

[Bug] Gallery doesn't show all images in article
Closed, DuplicatePublic

Description

Description

Steps to reproduce

  1. Go to the Bresenham's line algorithm article.
  2. Tap the lead image.
  3. Swipe left and right.

Expected results

All article images appear in gallery.

Actual results

Only the lead image appears in gallery.

Environments observed

App version: a9e2277cb9887ee06ef00be0e9889a15006ab7d6
Android OS versions: API 15, API 23
Device model: AOSP Nexus S emulator, Nexus 6P
Device language: English

Event Timeline

Niedzielski raised the priority of this task from to Medium.
Niedzielski updated the task description. (Show Details)
Niedzielski subscribed.

This is because our gallery hides any images that aren't .jpg (unless you explicitly click on a non-jpg image in the article). This is our naive way of filtering out presentational graphics from the article, including icons, logos, etc. (the API returns all of these images clumped together)
Ideally, the Service should return the correct list of images in the article.