Changes between Initial Version and Version 1 of Ticket #11154, comment 2
- Timestamp:
- Jul 17, 2014, 6:00:01 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11154, comment 2
initial v1 1 1 Adding 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]. 2 2 3 Here is an example: 4 5 {{{ 6 [[Image(overflow.png,100%)]] 7 }}} 8 9 [[Image(overflow.png,100%)]] 10 3 11 I suppose it could make sense to set the `max-width` to `100%` by default.