Jump to content

Template talk:Image array

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Image array/doc)

Rendering issue on mobile

[edit]

Raised a discussion at Wikipedia:Village pump (technical)#Javascript_makes_.7B.7Bimage_array.7D.7D_look_like_garbage_on_mobile regarding the appearance of these images on mobile. —Designate (talk) 18:47, 24 August 2013 (UTC)[reply]

I added an explicit width statement, which seems to have improved the layout on my iPhone. we saw a similar issue with Chessboard and Chessboard mxn. Frietjes (talk) 15:13, 25 August 2013 (UTC)[reply]
Hey, it worked! Great job, thanks. —Designate (talk) 16:18, 25 August 2013 (UTC)[reply]

The layout of this template seems to be broken

[edit]

Whenever I add this template in the middle of a paragraph

alt1
caption1
alt2
caption2
alt3
caption3
alt4
caption4

it seems to disrupt the flow of the text, as shown here. Is it possible to avoid this problem so that it does not disrupt the text, like Template:Multiple images? Jarble (talk) 20:05, 4 October 2015 (UTC)[reply]

@Frietjes: Will it be possible to fix this bug? Jarble (talk) 20:05, 4 October 2015 (UTC)[reply]

Jarble, probably not. this template was designed for adding arrays of images to an infobox. adding a large array of images in the middle of text is not going to be feasible. Frietjes (talk) 14:21, 5 October 2015 (UTC)[reply]
@Frietjes:This image array
alt1
caption1

creates an unnecessary line break even when it contains only one photograph, unlike other images in Wikipedia that do not split up the text at all.

Template:Multiple image doesn't introduce unnecessary line breaks, so I'm sure that it would be possible to fix this problem with Template:Image array as well. Can you recommend any ways to work around this issue? Jarble (talk) 19:56, 5 October 2015 (UTC)[reply]

Jarble, so use multiple image? why do you want to use this template outside of an infobox? Frietjes (talk) 20:06, 5 October 2015 (UTC)[reply]
@Frietjes: Template:Multiple image is much less convenient than Template:Image array. It requires the width or height of every image to be specified manually. Both of these templates have some cumbersome limitations, and I'm trying to work around them. (talk) 20:48, 5 October 2015 (UTC)[reply]
Jarble, for Template:Multiple image you can specify all the widths at once with the |width= parameter. have you considered using <gallery> with |mode=packed? without a specific example of what you are trying to do, it's kind of hard to help. Frietjes (talk) 12:50, 6 October 2015 (UTC)[reply]

Image sizes

[edit]

I noticed a difference in image sizes displayed by this template in President of the Philippines#Living former presidents. Wtmitchell (talk) (earlier Boracay Bill) 11:19, 22 July 2019 (UTC)[reply]

Wtmitchell, this template is not really well suited for that application. I fixed by switching to {{gallery}} which is more robust, and works better on mobile. Frietjes (talk) 13:26, 22 July 2019 (UTC)[reply]