Template talk:Panorama
Can we enable handling of really wide images?
[edit]No matter what I set the height at, the Solar System to scale displays with the same width. I assume that it's maxed out the width that this template can handle. (It's 1.4 million pixels wide.) Is it possible to modify it to accommodate really wide images like this? — kwami (talk) 02:19, 22 February 2013 (UTC)
- at 1,400,000 × 500, the smallest that makes sense would be 2800 x 1 px? in any case, my suggestion would be to use
{{wide image}}
which sets the size based on width rather than height,
- It's too wide for
{{wide image}}
too. — kwami (talk) 05:57, 23 February 2013 (UTC)- the problem doesn't appear to be with either of these templates, but with server limitations on the size of generated thumbnail images. Frietjes (talk) 18:35, 23 February 2013 (UTC)
- It's too wide for
- Oh well. Thanks for answering. — kwami (talk) 02:05, 24 February 2013 (UTC)
- you should be able to generate a very wide image by splitting the image into segments, then joining them together.
- Oh well. Thanks for answering. — kwami (talk) 02:05, 24 February 2013 (UTC)
- I'm not sure how many times you would have to split it, since I don't know the precise upper limit on thumbnail size. Frietjes (talk) 16:44, 24 February 2013 (UTC)
Centred image
[edit]Is it possible to get the initial display to centre the image as the centre is often the focal area. It should then scroll both ways as desired. • • • Peter (Southwood) (talk): 09:39, 26 May 2017 (UTC)
- Only with Javascript, and we try to avoid adding too many site wide scripts, because it's terrible for performance. —TheDJ (talk • contribs) 11:04, 26 May 2017 (UTC)
- OK, Acceptable reason. Thanks, • • • Peter (Southwood) (talk): 18:53, 26 May 2017 (UTC)
- OK, I implemented. To get proper width, I used
width: min-content;
in this template, however Edge doesn't support this property, I hope Microsoft can give bug fix for us. --Great Brightstar (talk) 13:55, 13 January 2018 (UTC)
Nesting next to a floating object
[edit]Panorama | |
---|---|
label1 | data1 |
label2 | data2 |
label3 | data3 |
label4 | data4 |
Wide image | |
---|---|
label1 | data1 |
label2 | data2 |
label3 | data3 |
label4 | data4 |
Great Brightstar, one advantage of using Template:Wide image over this template is that with "wide image" the image will nest next to the infobox, but panorama will not. is there any way to get "panorama" to nest next to an infobox even when the image is wider than the available space (you may need to make your browser window more narrow to see the effect)? I am viewing this in Firefox. Frietjes (talk) 14:16, 13 January 2018 (UTC)
- OK, I get the solution. You can try
|width=
parameter if you need, otherwise its width would be automatically calculated (currently works only with Firefox and Chrome). I am using Firefox too. --Great Brightstar (talk) 15:05, 13 January 2018 (UTC) - Alternatively, you can try to add a div element surrounding the template, insert float style for the "style" parameter, this method can be used as this:
- --Great Brightstar (talk) 16:35, 13 January 2018 (UTC)
<div style="{{float left}} width: 1200px;" {{Panorama |image = File:Ushuaia_panorama_from_seaside_big.jpg |height = 164 |caption = Panorama of Ushuaia from 2005-02-06 }} </div>
New lua version
[edit]I switched this over to use module:wide image for output consistency. It calculates the width from the native image aspect ratio and then uses the same rendering strategy as template:wide image. please revert and let me know if something blows up, but the test cases look better in my browser. Frietjes (talk) 20:25, 17 April 2019 (UTC)
360-degree panoramas
[edit]You are invited to join the discussion at Wikipedia_talk:Manual_of_Style/Images#360-degree_panoramas. {{u|Sdkb}} talk 00:30, 20 May 2020 (UTC)
Relative sizing
[edit]Since sizing in pixels is deprecated, is there a way to size relative to the reader's prefs? Equivalent to "upright" in bracket formatting? — kwami (talk) 20:17, 22 January 2024 (UTC)