Template talk:Portal dynamic image

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconPortals  
WikiProject iconThis page is within the scope of WikiProject Portals, a collaborative effort to improve portals on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Template This template does not require a rating on the project's quality scale.
Note icon
See also: List of Portals

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]