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.
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.
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.