Steps to replicate the issue (include links if applicable):
- Open https://fr.wikisource.org/wiki/Page:9_02_1885_Martinet.djvu/1 and click sur "Edit" (or "Modifier" in French)
What happens?:
- part of the image is missing on the right and at the bottom at moderate zoom levels, but it appears completely if you zoom enough
- if you edit the Index properties (https://fr.wikisource.org/wiki/Livre:9_02_1885_Martinet.djvu) and set "Résolution de l’image (zoom)" (Scan resolution in edit mode) to 2479, this problem disappears.
What should have happened instead?:
OpenSeaDragon should not crop the image, whatever value is entered in the "Scan resolution in edit mode" parameter.
Other information (browser name/version, screenshots, etc.):
I don't know if the same behaviour appears in other Wikisources. It has been reported in several books on the French Wikisource, but not on every page of these books.
For example, https://fr.wikisource.org/wiki/Page:Istrati_-_Nerrantsoula,_1927.djvu/125 and https://fr.wikisource.org/wiki/Page:Larousse_-_Grand_dictionnaire_universel_du_XIXe_si%C3%A8cle_-_Tome_1,_part._2,_An-Ar.djvu/387 exhibited the problem before the "Scan resolution in edit mode" parameter was modified.
In case it helps, I noticed that the srcset= attribute is added in the hidden IMG tag inside the page when the cropping problem appears:
<div class="prp-page-image"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/5/58/9_02_1885_Martinet.djvu/page1-1280px-9_02_1885_Martinet.djvu.jpg" decoding="async" width="1280" height="1811" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/58/9_02_1885_Martinet.djvu/page1-1920px-9_02_1885_Martinet.djvu.jpg 2x" data-file-width="2479" data-file-height="3508"></span></div>