- /
-
- Creating content /
- Widgets /
- Images widgets
Images widgets
Ready to use HTML to highlight your images
2025-05-23
ITADS
Markdown images are useful for everyday use but sometime it comes you have to highlight your images.
Light background on images with transparency
light
class name on <img>
tag applies a white background on image.
<img class="light"
src="/assets/images/gypaetus-barbatus-peisey.png"
alt="Gypaetus barbatus">
Dark background on images with transparency
dark
class name on <img>
tag applies a black background on image.
<img class="dark"
src="/assets/images/gypaetus-barbatus-peisey.png"
alt="Gypaetus barbatus">
Damier background to images with transparency
damier
class name on <img>
tag highlights transparency.
<img class="damier"
src="/assets/images/gypaetus-barbatus-peisey.png"
alt="Gypaetus barbatus">
Long shadow
long-shadow
class name on <img>
tag allows to apply a long box shadow.
<img class="long-shadow"
src="/assets/images/pierra-menta.jpg"
alt="Pierra Menta">
Boxed image
Boxed images require specific markup as follows but keeps same features class names as previously.

<figure>
<img src="/assets/images/pierra-menta.jpg" alt="Pierra Menta">
<figcaption>A basic boxed image with its long description.</figcaption>
</figure>
Boxed image wide
The wide
class name allows to feature an image.

wide
.
<figure class="wide">
<img src="/assets/images/pierra-menta.jpg"
alt="Pierra Menta">
<figcaption>
A wide boxed image with its description.
Class name applied on figure:
<code>wide</code>.
</figcaption>
</figure>
Mixed features

long-shadow
and wide
.
<figure class="long-shadow wide">
<img src="/assets/images/pierra-menta.jpg"
alt="Pierra Menta">
<figcaption>
A wide boxed image with filter drop shadow, with its long description.
Class names applied on figure:
<code>long-shadow</code> and <code>wide</code>.
</figcaption>
</figure>