Watch https://www.mediawiki.org/wiki/Lightbox_demo#mediaviewer/File:RhB_Ge_4-4_II_Wiesener_Viadukt.jpg load for example - there is a size change when it finishes loading.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Match size of preview and real image | mediawiki/extensions/MultimediaViewer | master | +1 -20 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T78211 MediaViewer image/screen sizing problems (tracking) | |||
Resolved | Phoenix303 | T87295 Size of preview and real image does not match in MediaViewer |
Event Timeline
Comment Actions
I have looked upon this issue. What i can figure it out is that the metadatapanel "top" property changes. Can you please give me some guidance with why this value is intially set to $( window ).height() - 83 (why 83?)
Comment Actions
Change 186212 had a related patch set uploaded (by Phoenix303):
Match size of preview and real image
Comment Actions
I have submitted the patch. Please let me know if there is any problem with the patch.
Comment Actions
There is an "above-the-fold" part of the metadata panel, which contains the most important information like caption or author name which should always be visible. 83 is the height of that part in pixels.
(The height changed a few times so I wouldn't be terribly surprised if there was some bug in calculating it.)