Page MenuHomePhabricator

Add page image info to mobile-html
Closed, DeclinedPublic

Description

Allow clients to access page image information from mobile-html directly without having to go to the summary output.

Strawman proposal

In mobile-html we could add a few meta property tags, like the following:

<meta property="pcs:pageimage:thumb" content="{url: '', width: , }">

Or we could split this up into different properties.
In the PCS abstraction JS layer we could return this data as part of a new data parameter returned by the callback of setMulti() or create a new method for that.

Event Timeline

bearND created this task.Jun 18 2019, 4:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 18 2019, 4:40 PM
bearND closed this task as Declined.Jun 18 2019, 7:22 PM

Probably not needed for now. The apps can request the summary and usually have it first anyways.