Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing issues with WPML Media Translation where images on the translated version of your site are not displaying correctly despite following recommended troubleshooting steps.
Solution:
We recommend the following steps to resolve the issue:
1. Navigate to WPML -> Settings -> Custom XML Configuration.
2. Insert the following code in the provided window/field:

<wpml-config><shortcodes><shortcode><tag type="media-url">fusion_imageframe</tag><attributes><attribute label="Image: Alt Text">alt</attribute><attribute label="Image: Link" type="link">link</attribute><attribute type="media-ids">image_id</attribute><attribute label="Image: Dynamic Params">dynamic_params</attribute><attribute label="Image: Title">caption_title</attribute><attribute label="Image: Caption">caption_text</attribute></attributes></shortcode></shortcodes></wpml-config>

3. Click the Save button.
After applying this fix, you should update the original page and its translations to see the changes on existing pages.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: ,

This topic contains 2 replies, has 2 voices.

Last updated by Itamar 1 year, 2 months ago.

Assisted by: Itamar.

Author Posts
May 28, 2024 at 12:08 pm

kathleenB-2

Background of the issue:
I am experiencing issues with WPML Media Translation not functioning correctly despite following the recommended troubleshooting steps. I am trying to ensure that images on the translated version of my site display correctly. The issue can be seen at hidden link where the images from the default German page are still showing instead of the translated versions.

Symptoms:
After performing several troubleshooting steps including scanning and replacing images, clearing caches, and using WPML's troubleshooting tools, the images on the translated page still reflect those of the default language page instead of the expected translated versions.

Questions:
What additional steps can I take to resolve the issue where translated images are not displaying correctly?
Is there a known issue or bug with WPML Media Translation that might be causing this problem?

May 28, 2024 at 1:18 pm
May 30, 2024 at 5:47 pm #15689659

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

We could replicate this issue on a test site. The issue is still escalated to our second-tier supporters so they can check it. We will keep you updated here on any news regarding this issue.

I appreciate your patience.
Itamar.

June 5, 2024 at 12:09 pm #15706528

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

We have a fix for this issue.

1. Go to WPML -> Settings -> Custom XML Configuration.
2. Insert this code in the window/field.

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag type="media-url">fusion_imageframe</tag>
      <attributes>
        <attribute label="Image: Alt Text">alt</attribute>
        <attribute label="Image: Link" type="link">link</attribute>
        <attribute type="media-ids">image_id</attribute>
        <attribute label="Image: Dynamic Params">dynamic_params</attribute>
        <attribute label="Image: Title">caption_title</attribute>
        <attribute label="Image: Caption">caption_text</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

3. Click the Save button.

Not it will work for now pages. For the existing page, you will need to update the original page and its translations.

Please let me know how it goes.

Regards,
Itamar.

June 10, 2024 at 7:22 am #15720320

kathleenB-2

Thanks a lot for your support!