Skip Navigation

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.

This topic contains 3 replies, has 2 voices.

Last updated by Kor 7 months ago.

Assigned support staff: Kor.

Author Posts
February 25, 2022 at 3:25 am #10660647

tonyD-4

Hi,

I found that there are two additional duplicated images.

I followed the following support ticket but still I see the images

https://wpml.org/forums/topic/duplicate-media-in-media-library/

February 28, 2022 at 8:07 am #10674927

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support.

To clarify, did you deactivate the WPML media plugin? As mentioned here: https://wpml.org/documentation/getting-started-guide/media-translation/#id5 WPML doesn’t create another image, it just creates another record at the database for each language, and when you deactivate the WPML Media, all these images appear in your media library.

But if you wish to remove these duplicates, here is what you can do :

1. Go to Media > Library
2. In the WordPress admin bar, use the language selector to choose the language you want to remove.
3. The media listed will be for that language.
4. Select all the media, and from Bulk Actions select Delete permanently. This will delete only the media for the selected language.

IMPORTANT: Please, note, a backup is required for security reasons, and to avoid any data loss, you can use the https://wordpress.org/plugins/updraftplus/ plugin for these backup needs.

Thanks!

Kor

February 28, 2022 at 8:09 pm #10680681

tonyD-4

Yes I have, I see the images are gone from the Other languages. But when I change the language to English I see the duplicated images there.

Also, say that now as I have deleted all the other images from the translation, in case if I want to install the WPML Media again, how the other languages media would work. Because I tested out by installing the WPML Media again and the Chinese and Vietnamese media is emply

March 1, 2022 at 3:26 am #10682023

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Since you mentioned that the duplicates are displayed only in the “English” language, I don’t think that came from WPML. Could you perform a test by uploading a new media and translating it to a different language? Then check the “English” language again and see if the duplicates appear.

If the issue persists, I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I have access to it.

IMPORTANT: Please, note, a backup is required for security reasons, and to avoid any data loss, you can use the https://wordpress.org/plugins/updraftplus/ plugin for these backup needs.

✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

As for your second question, you’ll need to perform the media translation again for your other languages if you’ve removed it previously.

Thanks!

Kor

The topic ‘Duplicated images in the Media Libarary’ is closed to new replies.