[Resolved] Problem with generated images in Media folder
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported issues with images being duplicated in the media library, specifically mentioning images named 'maxresdefault' that seemed to be auto-generated. The client was concerned that WPML might be creating these files. Solution: We clarified that WPML does not directly create image files; it only duplicates existing images in the database when translating them to other languages. The images in question were uploaded by a user and were start images from YouTube videos, likely auto-generated by the Elementor plugin, not WPML. We recommended verifying the image author in the media library and checking if Elementor or another third-party plugin might be generating these images.
If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. It's also advisable to check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and ensure that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.
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.
Hi Kor, thanks for this hint, but it did not help. I deleted the translations und switched to the previous version of the editor. Same result.
Please have a look at the screenshot. Problem starts with the German Textbody. Even when there is in German <p><Strong>Text</p><p>Text</p>
The paragraphs are not divided in two input fields. Maybe it is the combination <p>, or it has to do with glossary entries. This paragraph shows a (1) at the glossary.
-----------------------------
To our main Problem: Is an Updraft Plus clone okay? We again have had a Problem with generated images in Media folder:
Tis time it was not after replacing an image, but after changing Text of an image at the Media Folder to the German Text, which was already set and translated. But it was not the translated image, which was used for Generation, but an Image from a page (Polarimetrie), which was deleted month ago in German, but not the translation in the other 3 languages. the Spainish Image translation was generated again and again. We did not change anything to the page as we were working in translations of Products. Don't know, why this happens now.
And please have a look at the Glossary. We "feel", that these problems exists, since we are using the Glossary in all 3 translated languages. Please give this hint to your development colleges.
Hi Kor, i am sorry, but I can't. A College has reported this Issue to me and I already stopped the generation by deleting the Translations. This shall only be a hint for your Colleges, that the generated images might have to do with a change of the Image Text-Attributes in the main Language and then to translate the changes.
I just tried to clone the website on my webspace, but sorry, my space is too small for another website of this size. And I tried it with an updraft clone, but this is too slow. I have no idea, how to clone it.
Today we have another strange behavior in the Media folder: My college is creating new Posts with Images inside and a featured image. During translation it created media files, this time with an image and the name was counting up: maxresdefault, maxresdefault-1, maxresdefault-2, etc. Today it created 4 Images with the name (-6 to -9) and we already had 0 to 5 at the 18th of Juli and did not notice it. The images of maxresdefault-x had nothing to do with images from the post, but the are from pages and maybe from those, where the original problem exists first and where I deleted the translations to stop generation of images. And we do not know where the name maxresdefault is from.
I've reviewed your website's media library at hidden link and located the image files named "maxresdefault" that you mentioned.
I want to clarify that WPML does not create image files directly. Instead, it duplicates images in the database from the primary language to the secondary language. You can verify these database copies by switching to another language using the dropdown language switcher, as illustrated in the attached screenshot.
It appears that these images were uploaded by a user named "Kirsten Edlefsen," as indicated in the media library's "author" column. Could you please double-check this information?
thanks for checking the images. I asked Kirsten. She did not upload these images, but what she said is Important: These are all Start-Images from YouTube Videos. So I guess, these images are auto-generated from - maybe - Elementor. This will fit to the generated names...
So this has nothing to do with our main problem. Sorry, to bother you with that. Frank
Yes, that makes more sense. When you upload a YouTube video, start images are not created automatically unless a third-party plugin generates them. It's likely that Elementor is handling this task. Therefore, there are no issues with randomly generated images on your website. I'll close this ticket if you agree.
Hi Kor, please oi not close this ticket. The original Problem is not solved. The generated Images with name maxresdefault have nothing to do with our main problem:
The main Problem are the generated "Images" after replacing an image in a page with the same name and maybe changing the the Image texts and starting the translation. Then it is creating "images" in our media Library. You could reproduce the problem, you said and wanted to sent this to second tier Support. Please have a look at our previous correspondence before you created two new tickets.
Okay, I did not see the previous Ticket in my Support-Folder, that is why I did not know, that this still exist. Okay, you can close this ticket now and we will proceed with the other ticket.