Community
Participate
Working Groups
With: [[Image:test.png|frame|center|caption for the image]] The caption is supposed to be rendered inside the frame, below the image. See the attached screenshots.
Created attachment 202503 [details] the image as rendered by MediaWiki
Created attachment 202504 [details] the image as rendered by Mylyn wikitext
Nicolas, thanks for the bug. Any chance you could attach the desired HTML output?
The html : <div class="center"> <div class="thumb"> <div class="thumbinner" style="width:102px;"> <img alt="" src="test.png" width="100" height="100" class="thumbimage" /> <div class="thumbcaption">caption for the image</div> </div> </div> </div> The CSS styles used (defined in <head> or linked stylesheet): <style type="text/css"> .center { width: 100%; text-align: center; } *.center * { margin-left: auto; margin-right: auto; } div.thumb { margin-bottom: .5em; border-style: solid; border-color: white; width: auto; } div.thumbinner { border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden; } html .thumbimage { border: 1px solid #ccc; } html .thumbcaption { border: none; text-align: left; line-height: 1.4em; padding: 3px !important; font-size: 94%; } </style>
Created attachment 206821 [details] patch does this patch address the issue?
Created attachment 206822 [details] mylyn/context/zip
Closed as part of backlog clean-up. Please re-open if you'd like to see this revisited, perhaps with a contribution.