Skip to content Skip to sidebar

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

Problem:
You are experiencing an issue where featured images disappear on pages translated into secondary languages. This problem is also visible in the WordPress editor view for the translated page.
Solution:
We found that in WPML → Settings, the Media (attachment) option was set to 'Not Translatable', which hid the media translation option and did not duplicate the media attachments. We recommend changing this setting to 'Translatable'. After making this change, run the media duplication option in WPML. This action will duplicate the missing images for the translations by creating an entry in the database that links the original image to the translations, without physically duplicating any images on the server.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 4 replies, has 0 voices.

Last updated by stephenS-28 3 months, 2 weeks ago.

Assisted by: Andrey.

Author Posts
April 16, 2025 at 4:45 pm #16940382

stephenS-28

Background of the issue:
I am trying to display staff headshots (featured images) on pages like hidden link. When I translate the page into Spanish or French using the footer, most of the headshots disappear. This issue is also visible in the WordPress editor view for the translated page. The issue can be seen at hidden link.

Symptoms:
Missing featured images on translated pages in Spanish or French.

Questions:
Why are the featured images missing on the translated pages?
How can I fix the issue of missing featured images on translated pages?

April 17, 2025 at 1:47 pm #16944326

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Have you tried to run the Media Translation in WPML → Settings → Media Translation?

If this is still the issue, please show me the following on the screenshots:

When I translate the page into Spanish or French using the footer, most of the headshots disappear.

Before making any changes, please ensure that you back up your database first.

April 22, 2025 at 4:14 pm #16956466

stephenS-28

I had uninstalled the Media Translation plugin a while ago because I didn't need to translate any media or media meta info.

I reinstalled it now but don't see any difference between the images that are staying put and those not displaying. Translating the images doesn't make them appear.

Here are screenshots of the English (two images) and the French...

Screenshot 2025-04-22 at 9.12.13 AM.png
Screenshot 2025-04-22 at 9.12.02 AM.png
April 22, 2025 at 4:40 pm #16956637

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

If you do not need to translate your media, then you do not need to have the Media Translation plugin installed.

You can try running the media option by going to WPML → Settings → Media Translation. The option is available even without the Media Translation plugin.

I have attached a screenshot for your reference.

Settings-‹-woo2-site-—-WordPress.png
April 22, 2025 at 5:05 pm #16956715

stephenS-28

Hmm, I don't see a Media Translation section under Settings. Am I missing a plugin? Here's a screenshot of what I've got installed...

Screenshot 2025-04-22 at 10.04.25 AM.png
April 23, 2025 at 11:40 am #16959428

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

No, you didn't miss anything. I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

April 24, 2025 at 12:35 pm #16964379

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the information.

I reviewed your website and noticed that the images for the staff members are not loading correctly. This might be the reason they are not appearing in the translations. I've attached a screenshot for your reference.

Could you please try re-uploading the images for the staff members from the library in the original language? If the image wasn't copied to the translations as it appeared for the original, try slightly changing the original page, saving it, navigating to the WPML translation editor, and completing the translation.

Edit-Staff-Member-“Marlon-Oros”-‹-—-WordPress.png
April 24, 2025 at 3:36 pm #16965337

stephenS-28

I'm unable to duplicate this issue on the live or staging site. Could you try it again and see if it's still happening?

April 24, 2025 at 6:29 pm #16965830

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I am no longer able to log in. I have attached the screenshot. Could you check this, please?

Screenshot 2025-04-24 at 21.28.50.png
April 24, 2025 at 6:32 pm #16965854

stephenS-28

Try it now.

April 24, 2025 at 7:13 pm #16965961

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

That works. Thank you!

I have good news! I was able to identify the reason for the issue. In WPML → Settings, the Media (attachment) option was set to Not Translatable, which was hiding the media translation option and of course, didn't duplicate the media attachments. I changed it to Translatable.

Afterward, I ran the media option, which duplicated the missing images for the translations. Please note that it doesn’t physically duplicate any images on the server; it merely creates an entry in the database that links the original image to the translations.

Have a nice evening (if it’s evening for you 🙂 ).

Educación-en-Perú-Edify.png
Settings-‹-—-WordPress(1).png
Settings-‹-—-WordPress.png
April 24, 2025 at 7:48 pm #16966053

stephenS-28

Thanks!