Modify ↓
#19102 closed defect (invalid)
Image macro: Wrong description of percentage option
Reported by: | skyper | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | template_report Image macro description | Cc: |
Description
Under WikiMacros#Image-macro it is written:
…
The remaining arguments are optional and allow configuring the attributes and style of the rendered
<img>
element:
- digits and unit are interpreted as the size (ex. 120px, 25%) for the image
This is not true as the percentage is for the page size and not the image, e.g. [[JOSMImage(dialogs/validator,100%)]]
Attachments (0)
Change History (2)
comment:1 Changed 2 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 2 years ago by
Well, at least, I am happy to have understood the meaning of percentage which is useful for placement left/right. Thought other users would like to understand it, too.
Note: See
TracTickets for help on using
tickets.
It is correct, as said this is the size for the image. The reference value of size specifications can be found in HTML/CSS docs, which is not stated here. Anyway this ticket is off-topic. If this would be an error it must be reported in Trac bugtracker.