Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added a project: Wikidata Query UI. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION As a query service user, I want to see all the images from a query result in order to understand the result better. **Problem:** The WDQS UI’s ImageView currently loads images with a width of 1000px. This is not one of the standard sizes <https://discourse-mediawiki.wmflabs.org/t/embedding-wikimedia-commons-images-in-tools-with-multiple-resolutions-srcset/1501>, and so it’s possible that MediaWiki has to resize the image on the fly, and if that happens enough, the user will get rate limited and may not see further images. We should use one of those standard sizes instead (where a resized image is guaranteed or very likely to exist), and 1024px is the closest one. **Example:** This is hard to demonstrate reliably, because it requires images that were never loaded at 1000px before. 500 random images <https://query.wikidata.org/#%23defaultView%3AImageGrid%0ASELECT%20%3Fitem%20%3Fimage%20WHERE%20%7B%0A%20%20SERVICE%20bd%3Asample%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP18%20%3Fimage.%0A%20%20%20%20bd%3AserviceParam%20bd%3Asample.limit%20%22500%22.%0A%20%20%7D%0A%20%20FILTER%28%21wikibase%3AisSomeValue%28%3Fimage%29%29%0A%7D> seems to work sometimes. **Screenshots/mockups:** F31938186: Screenshot_2020-07-17 Wikidata Query Service.png <https://phabricator.wikimedia.org/F31938186> **BDD** GIVEN A random set of images WHEN looking at them in the image grid THEN they can always be loaded **Acceptance criteria:** - Image width is 1024px instead of 1000px **Open questions:** TASK DETAIL https://phabricator.wikimedia.org/T258241 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, CBogen, Akuckartz, darthmon_wmde, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
