-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Content - Attachments
-
None
-
1
Issue Summary
In some use cases, a Confluence user will manually resize the attached image. We found that the parameter used (ac:width) is inconsistent when manually inputting a number to resize the image in the storage format.
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Create a new page on Confluence.
- Upload an image to the page and save the change.
- Check the storage format, it shows the height:
<p><ac:image ac:thumbnail="true" ac:height="189"><ri:attachment ri:filename="download-6.png" /></ac:image></p>
- Change the image size to the preset size to small, it shows the height:
<p><ac:image ac:thumbnail="true" ac:height="150"><ri:attachment ri:filename="download-6.png" /></ac:image></p>
- Change the image size to the preset size to medium, it shows the height:
<p><ac:image ac:height="250"><ri:attachment ri:filename="download-6.png" /></ac:image></p>
- Change the image size to the preset size to large, it shows the height:
<p><ac:image ac:height="400"><ri:attachment ri:filename="download-6.png" /></ac:image></p>
- Manually assign a value to the image, it shows the width:
<p><ac:image ac:thumbnail="true" ac:width="251"><ri:attachment ri:filename="download-6.png" /></ac:image></p>
Expected Results
- According to Confluence documentation (Display files and image), we use the width to define the image size, so it would be better if we use the same parameter (ac:width) to define the image in storage format.
- If we decide to use ac:height to define the image by default, we should consistently use the same parameter to avoid confusion.
Actual Results
Please refer to the screen recording (Screen Recording 2024-11-11 at 13.54.06.mov
) for the actual result.