Page MenuHomePhabricator

Revert to old web view lead image presentation
Closed, InvalidPublic

Description

With native card being tabled for now, we'll need to again show the lead image in the web view.

-Bring back old html lead image. (Note: there was large variety of behaviors the old html lead image code supported such as proper landscape and tablet behavior. Just revert to this for now so we don't have to re-address all of these issues pre-5.0 beta)
-This will be super easy to bring back in an isolated fashion using a custom NSURLProtocol - I have a proof of concept.

Event Timeline

Mhurd raised the priority of this task from to Needs Triage.
Mhurd updated the task description. (Show Details)
Mhurd moved this task to Needs Triage on the Wikipedia-iOS-App-Backlog board.
Mhurd subscribed.
Mhurd set Security to None.
Mhurd updated the task description. (Show Details)

We will need to also make sure: the lead image is high-res & face-detected. IIRC there was some side-effect stuff going on that caused the webVC to force the lead image.

@BGerstle-WMF "caused the webVC to force the lead image" ... to what?

Face detection offsets worked with the both the original native lead image overlay and the html lead image which replaced it.

Detecting if we fetched the lead image and replacing the placeholder.

Right, but that was before we revamped image caching, which no longer posts that notification. I'm just saying we'll have to hook that back up.

JMinor triaged this task as Medium priority.Oct 2 2015, 4:06 AM
JMinor subscribed.

See also T113674.

BGerstle-WMF claimed this task.

Already done as part of T113773. Still need to decide on header gallery.