# DRY Handling of Images and captions in Multilingual Pages

**URL:** <https://discourse.gohugo.io/t/dry-handling-of-images-and-captions-in-multilingual-pages/26841>\
**Category:** tips & tricks\
**Created:** [July 10, 2020, 4:37pm UTC](https://discourse.gohugo.io/t/dry-handling-of-images-and-captions-in-multilingual-pages/26841 "2020-07-10T16:37:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vendelin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vendelin/32/11243_2.png) [@vendelin](https://discourse.gohugo.io/u/vendelin)\
**Post date:** [July 10, 2020, 4:37pm UTC](https://discourse.gohugo.io/t/dry-handling-of-images-and-captions-in-multilingual-pages/26841/1 "2020-07-10T16:37:01Z")

</div>

I think I found the DRYest way to handle images and image captions for a multilingual website with Hugo. Here is the updated article:

[https://vendelin.org/geeky/hugo/images-multilingual-pages-hugo](https://vendelin.org/geeky/hugo/images-multilingual-pages-hugo)

The problems addressed are:

- How to change an image and its captions with minimal amount of edits (think of a web page in four languages)
- How to minimize the probability of image and caption mismatch, which can lead to quite hilarious incidents.
- How to re-use the same image and captions as a single ‘composite resource’ in several parts of a website - think of main article and a teaser on the front page.

I would appreciate your feedback, suggestions for improvements in particular.

---

<div class="post-metadata">

**Author:** ![damien1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/damien1/32/11594_2.png) [@damien1](https://discourse.gohugo.io/u/damien1)\
**Post date:** [July 11, 2020, 12:49pm UTC](https://discourse.gohugo.io/t/dry-handling-of-images-and-captions-in-multilingual-pages/26841/2 "2020-07-11T12:49:53Z")

</div>

Why not share it here … where we can read it –

otherwise it looks like you are just writing clickbait to your own site

---

<div class="post-metadata">

**Author:** ![vendelin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vendelin/32/11243_2.png) [@vendelin](https://discourse.gohugo.io/u/vendelin)\
**Post date:** [July 11, 2020, 2:04pm UTC](https://discourse.gohugo.io/t/dry-handling-of-images-and-captions-in-multilingual-pages/26841/3 "2020-07-11T14:04:26Z")

</div>

I’m sorry, are you saying my site is down? Why cannot you read it “there”, if the topic is of interest?

The word “clickbait” may have several definitions, here’s one from Wikipedia:

> Clickbait, a form of false advertisement, uses hyperlink text or a thumbnail link that is designed to attract attention and to entice users to follow that link and read, view, or listen to the linked piece of online content, with a defining characteristic of being deceptive, typically sensationalized or misleading.

There is nothing false, sensationalized or misleading about the link in my post. I’m just sharing a part of Hugo tutorial which I wrote in the hope it will be useful for those who start out with Hugo.
