This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f97b9e53-6c7a-4c33-bdac-b84e0710d534 XWIKI-25010 Open

Image height is not taken into account when width is missing and rendering.imageDimensionsIncludedInImageURL = false

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dc60425a-462e-44e2-9865-5ed0841b35cc Andreea Bran created this issue on 17/Sep/26 11:15
 
Summary: Image height is not taken into account when width is missing and rendering.imageDimensionsIncludedInImageURL = false
Issue Type: cid:jira-generated-image-avatar-f97b9e53-6c7a-4c33-bdac-b84e0710d534 Bug
Assignee: Unassigned
Created: 17/Sep/26 11:15
Priority: cid:jira-generated-image-static-major-13a928fb-150e-4135-8c77-85fcd0df2254 Major
Reporter: Andreea Bran
 
 

3 updates

 
cid:jira-generated-image-avatar-dc60425a-462e-44e2-9865-5ed0841b35cc Changes by Andreea Bran on 17/Sep/26 11:15
 
Version: 17.10.9
Description: Steps to reproduce:
1. On the xwiki.properties of a wiki, set rendering.imageDimensionsIncludedInImageURL = false (the default is true).
2. Start the wiki server.
3. Add an image on a page
4. Open the image editing dialogue > Advanced tab.
5. Add a height value (for example 250px) but keep the width field empty.
6. Save the image settings and page.

Expected result: the image will keep the set height
Actual result: the image is not keeping the set height, it will take an automatic height because of an inherited CSS rule which is
{code}height: auto;{code} that is set on all images from the skin.
Component: WYSIWYG Editor