Jump to content

Template talk:Portal dynamic image

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Feature request

[edit]
  1. If the width parameter is specified as 50% rather than 50, it will be more clear to the user that it is a dynamic width, not a pixel width, so easier to learn.
  2. Is it possible to specify a maximum width or height, to keep the size below that limit, and have it dynamically sized when smaller than the maximum? This would allow a relatively large image on a small screen, but cap the overall size on a large screen. This could be useful to reduce overflow beyond the box section or the screen. Images, and particularly slideshows, should display the whole image on the screen, inside the box section borders, and should do this as consistently as possible for all screen sizes and aspect ratios. · · · Peter (Southwood) (talk): 05:56, 8 August 2018 (UTC)[reply]
Pbsouthwood - I have implemented a basic functionality for both. I intend to convert it to Lua sometime in the future as it will handle all the intertwined values better. — FR+ 15:56, 9 August 2018 (UTC)[reply]
Thanks FR30799386, I will check it out soon. Cheers, · · · Peter (Southwood) (talk): 18:30, 9 August 2018 (UTC)[reply]