Mibu wrote:
Unfortunately adding width did not help either. I tried
<img src="http://mypage/new.gif" style="opacity:1" alt="neu" width="15" />
but it did not change anything (same for height) - it's always spread over the whole width (irrespective of width value and image type .gif, .png, .svg). What would I have to put into CSS?
To be entirely sure of what happens, I would need to see a link, as I don't feel like creating a test for this, including all scenarios. It may also depend on where the description is showing, because if in layouts, CSS has been assigned to affect images inside that specific layout, and I have not taken account for images that may be added into descriptions.
All in all, you can override with something like this:
<img src="http://mypage/new.gif" style="opacity:1; width:15px; height:15px" alt="neu">
Sometimes you can omit width or height values, and allow the aspect to scale naturally. Sometimes, you might need to use !important attribute to override styles that would otherwise apply.
<img src="http://mypage/new.gif" style="opacity:1; width:15px !important;" alt="neu">
Once you have a style combination that you want to use for several images, it's easier to then assign this to a class.
<img src="http://mypage/new.gif" style="opacity:1" alt="neu" class="my-description-image">
Custom CSS:
.my-description-css {
width: 15px;
border: 1px solid black;
}