Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 -
- 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 -

Supporter timezone: Europe/Rome (GMT+02:00)

This topic contains 4 replies, has 3 voices.

Last updated by Alejandro 1 year, 4 months ago.

Assisted by: Alejandro.

Author Posts
April 30, 2024 at 12:01 am #15578951

janeaN

We installed WPML on our business website and got a MESS - it has distorted all of the images across the site and even uninstalling it has not helped.

I need to be able to talk to someone from support ASAP.

April 30, 2024 at 7:18 am #15579560

Sumit
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi,

Thank you for contacting the support forum.
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process

Could you explain the issue a bit more?
- How media has been distorted on the site? I mean those are 404, or changes the layout etc.
- A link or screenshot to see the issue?

Also, I will share how WPML affects the media. When you install WPML on the site the media entries need to be translated. WPML does that automatically in the background. There is a translated entry for all the media files in the database for each language. The physical file is the same for all the media entries it is just the metadata.

So when you uninstall the WPML those are not deleted and you see duplicated media files in the library.

If you are uninstalling WPML there is an option to remove the translated media files before uninstalling WPML. I hope that is not needed because we will work in the direction to set up WPML on the site.

So I would suggest first restoring the backup and creating a staging site then installing the WPML there. if you see any issue we will check it.

Thanks

April 30, 2024 at 6:16 pm #15582433

janeaN

Hello, thank you for your fast reply.

Here are answers for your questions above:

1. I have not found the “option to remove the translated media files before uninstalling WPML”, please send a screenshot of the exact location.

2. Most of the images in the media library are not working.

3. Images are not displaying, yet they are on the server. The image url serves a 301 redirect to the home page.

4. On this page, sample image “Drama Games”, is broken, the image url is broken, but it’s on the server.
hidden link

image004.png
image003.png
image002.png
image001.png
May 1, 2024 at 12:15 am #15582947

janeaN

I would like to add the following information as well:

Also, the issue with images is that the full images are working just fine, but for most images none of the thumbnails created from those original images are showing.

For example, the original image loads just fine:

hidden link

But the 150x150 thumbnail redirects straight to homepage:

hidden link

so that WPML plugin somehow rewrote most of the thumbnails to point to homepage instead...

And that plugin somehow broke the Yoast SEO plugin as well, as its backed is completely messed up now and unusable so I had to disable that as well until either WPML guys respond with some sort of a fix or we restore a backup.

May 2, 2024 at 2:48 pm #15588165

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Here's the thing. WPML doesn't even touch the images in the way that you describe, we at most create an entry in the database that makes the site think that there's a "duplicate" image. we never remove images let alone run such targeted actions as removing images of certain dimensions.

I have seen what you're mentioning when you run image optimization plugins, where images from certain dimensions are removed in order to save space, since WP tends to create a lot of variations of images to help reduce the dimensions served on images to the users.

That would have nothing to do with WPML though. i can see you have a plugin that actually helps with that ("Regenerate Thumbnails Advanced") and you have CRON disabled which tells me that maybe when WPML was installed, it forced a cron job run that also triggered the regenerate thumbnails one or similar.

I'd suggest that as a next step you check all the plugins that modify images in any way and check if they have an option to remove images, create different dimensions for images, etc, because they tend to do what you mentioned above.

Let us know how it goes.

Regards.

The topic ‘[Closed] WPML media completely messed up images site wide – disaster – unrecoverable’ is closed to new replies.