# Image styling for xwiki.org

**URL:** <https://forum.xwiki.org/t/image-styling-for-xwiki-org/16925>\
**Category:** Development\
**Tags:** proposal\
**Created:** [May 7, 2025, 2:54pm UTC](https://forum.xwiki.org/t/image-styling-for-xwiki-org/16925 "2025-05-07T14:54:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [May 12, 2025, 3:50pm UTC](https://forum.xwiki.org/t/image-styling-for-xwiki-org/16925/2 "2025-05-12T15:50:15Z")

</div>

> [@vmassol](#):
>
> We’re currently using an image macro to have a consistent style on [xwiki.org](http://xwiki.org).

Interesting, I thought the rule was to use the gallery macro for images in documentation.

> [@vmassol](#):
>
> Until this is fixed, I propose to continue to use the image macro but to modify it to add a `style` parameter with the values `small`, `medium`, `large` and `extra` (for extra large). See [https://dev.xwiki.org/xwiki/bin/view/Community/DocGuide#HScreenshots2FImages](https://dev.xwiki.org/xwiki/bin/view/Community/DocGuide#HScreenshots2FImages) for the corresponding widths.

+1

If it’s a dedicated macro for [xwiki.org](http://xwiki.org) I’m wondering if we also couldn’t add an optional “version” parameter to use when adding screenshots, to have a better way to know (and let the user knows) the version of XWiki they’re seeing: as mentioned in another topic it’s not easy to maintain all screenshot up to date, but maybe it might help to see the metadata a bit like what we have with the version macro.

---

_[View the full topic](https://forum.xwiki.org/t/image-styling-for-xwiki-org/16925)._
