Quote:
Originally Posted by sparklywater
Why can we not enter percentage values for the 'link_imagemagsize' setting? For example 100% would mean cover full screen of user. Also, why is there only one dimension setting in 'link_imagemagsize', why not both width and height?
|
I did wonder about allowing percentages for the image size. However, there's a problem - when you use a percentage in html, you are (afaik) refering to a percentage of the container size in which the item sits, not a percentage of screen size. A size of something specified as "100%" would depend on the specifications for other features on the board and would not mean "full page width". It could also vary with choice of template. It seems less confusing to stick with pixel sizes.
Again, I wondered about having both width and height parameters, but this would end up distorting pictures - by using only one value, the code can maintain the aspect ratio of the picture.
Am open to discussion