Currently the width of the pageimage in nearby popups can vary a lot. It mainly depends on the width of the popup, that's influenced by the length of the title and/or description. Since these two can vary a lot the current range of image widths is somewhere between under 50 and 277px. The latter given due to the max popup width minus the margins.
In that context we decided on two things as MVP to at least improve the situation without too much guesswork.
Acceptance criteria:
- Sync the layout of Nearby popups with the marker popups from user input
- Depending on the max width popup images can reach, reduce the size we load them e.g. with the 250 width preset
-
TO CHECK: Increase min width for popups
Demo for fix:
https://en.wikipedia.beta.wmflabs.org/wiki/Maptests/Inline_marker#/map/0
- Load nearby markers and compare the Opéra de Monte-Carlo popups