How to add localized images to your site

How it works

You can add an image with text localized for different languages via a custom HTML code. This feature will help you make the site more informative for users from different countries. You may use an existing solution or add your own code.

How to get it

Using an existing solution

  1. Open your project in Publisher Account.
  2. In the side bar click Site Builder.
  3. Click Open Site Builder.
  4. In the Header block, set up the Translations component.
  5. Select the language(s) you want to add to a localized image.
  6. Insert the following code to the Custom code block:

Full screen
Small screen

  .localised-image {
    text-align: center;
    padding: 4em 1em;
  .localised-image img {
    width: 100%;
<div class="localised-image">
  <img class="lazy loaded" data-src="" />

  1. Put the link to each image to the img element of the data-src attribute. Supported image formats: JPEG, PNG, GIF.
  2. To add several localized images, duplicate the block with the div tag and change the image URLs.
  3. Click Preview to see your changes.

Watch the tutorial video for this instruction:

Adding your own code

  1. In the Builder, click Add block and choose Custom code.

  1. Insert your own code to the block.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!

Useful links

Last updated: February 14, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!