Hello

I would like to ask about setting the "right" size (height, width) of images integrated in Wiki pages. How to specify the "right" size considering a variable screen size and resolution?

In our environment we often insert pictures like flow diagrams, screen-shots and others figures with much text. Of course our Trac users use different screens, from small laptop screens up to ultra wide screens, some have low resolution some have 4K resolution. Our users also use different desktop and browser magnifications factors like 150%.

Of course we are aware that we can setup the height and width as arguments to the Image-macro:

 https://trac.edgewall.org/wiki/WikiMacros#Image-macro

The height and width can be absolute pixels or relative percentage:
 [[Image(photo.jpg, width=200px)]]
 [[Image(photo.jpg, width=50%)]]

But neither pixels nor percentage can accommodate for all screen sizes and resolutions. Often pictures are too small or too big.

I am missing the ability to specify the picture size in "em" units. I believe that a picture size relative to the font size would be an improvement. I know that "em" is not supported by the HTML <img> tag, it needs CSS. Trac could be improved and offer "em" units for images. What do you think?

Are there other recommendations to improve picture visibility/readability at variable screen size and resolution?

Thanks
Clemens


--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c34502e9-b1cf-458e-34e3-c9f56bff18ed%40osypkamed.com.

Reply via email to