I am trying to: View pictures in the media library
I expected to see: the pictures
Instead, I got: the wp includes default image
When I upload new images, they are shown as usual.
It seems at some point the links broke and are now pointing to the wrong address and english translation of the site. Because it points to the english site I assume at some point WPML overwrote the links. What could I do to fix this?
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Upon reviewing your debug information, I have observed that the PHP limit for your "WP Memory Limit" is lower than the recommended 256MB or the required 128MB, as mentioned in the documentation found at: https://wpml.org/home/minimum-requirements/. To resolve this, I kindly request that you contact your hosting provider and request an increase in the PHP value for you.
Also, please update all WPML plugins to the latest version.
I've checked your Website and I'm not noticing any broken images. Could you please list the steps to replicate it? Or share the URL of the page in question where I can see the issue.
Hi, thanks for checking! I might have not been explicit enough, it is only older pictures. What I did is:
1. Login to WordPress and go to the media library (/wp-admin/upload.php)
2. Scroll a bit down to load older pictures, older than April 2023 (the newer ones are shown)
3. While the files still exist in the folder, the file url in the media library is broken for these older pictures.
I have identified the issue now. I've reviewed the minimum requirement section at this link: hidden link , which indicates that your WordPress Memory limit falls below the minimum requirement mentioned here: https://wpml.org/home/minimum-requirements/ . I believe this is the root cause of the problems with media translation. An insufficient memory limit can lead to an incomplete translation process, which in turn affects the accurate translation of media.
Would it be possible for you to increase the memory limit and then attempt to upload the media again to see if the issue persists? If you can, please consider recording a screen capture while performing these steps.
I have increased the memory limit further to 512M (see WordPress Site Health page and screenshot). It is also the maximum of what the server provider allows. However the support page of WPML still shows 40M. How could this be increased?
I also created a screen recording of the issue: hidden link
The topic ‘[Closed] Images are not shown in media library / image links broken’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.