Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11154, comment 2


Ignore:
Timestamp:
Jul 17, 2014, 6:00:01 PM (6 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11154, comment 2

    initial v1  
    11Adding the `100%` argument to the image macro produces the same result. With that argument, `width=100%` is added as an attribute of the `img` element. The code is [browser:/tags/trac-1.0.1/trac/wiki/macros.py?marks=540,655#L536 here].
    22
     3Here is an example:
     4
     5{{{
     6[[Image(overflow.png,100%)]]
     7}}}
     8
     9[[Image(overflow.png,100%)]]
     10
    311I suppose it could make sense to set the `max-width` to `100%` by default.