When the layout gets toggled, the original hidden image (inside the prp-page-image div) is overwritten. If any script wants to retrieve data on which image was loaded, they need to use internal Openseadragon APIs (namely mw.proofreadpage.viewer.tileSources) to retrieve the image URLs.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
OSD: Prevent original image from getting overwritten by OSD | mediawiki/extensions/ProofreadPage | master | +9 -10 |
Event Timeline
Comment Actions
Change 740334 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):
[mediawiki/extensions/ProofreadPage@master] OSD: Prevent original image from getting overwritten by OSD
Comment Actions
Change 740334 merged by jenkins-bot:
[mediawiki/extensions/ProofreadPage@master] OSD: Prevent original image from getting overwritten by OSD
Comment Actions
This has been changed.
Also, since then, it's now also possible to access the URL properly with mw.config.get( 'prpImageThumbnail' )