[Resolved] Gallery images not displaying on translated pages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the product image gallery was not displaying correctly on translated pages using Beaver Builder and Astra. This problem persisted even after updating core, plugins, and themes, and following media translation updates. Solution: We recommended the client to try the following steps: 1. Add an image to each gallery and save the changes. 2. Delete the image and save again. 3. Clear the Beaver Builder cache via Settings > Beaver Builder > Tools. This sequence of actions helped reset the display of the correct images in the product gallery.
If you're experiencing a similar issue, we recommend trying these steps. However, this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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.
Background of the issue:
I am working on a site under development using Beaver Builder and Astra (not WooCommerce). After updating a link on each of the translated product pages, the product image gallery stopped displaying on all translated pages. I updated core, plugins, and themes, which resolved the issue for all products except one. I followed the media translation update as recommended in the WPML forum, which fixed the issue for the one product but caused it to appear on multiple other products, displaying no images or only one gallery image on the translated pages. Backend images are displaying appropriately.
Symptoms:
Translated pages are not displaying the product image gallery correctly, showing no images or only one gallery image for some products.
Questions:
Can you please recommend a solution for this issue?
Thank you for contacting WPML support, I’m happy to help you with this issue.
I'm checking a product page and its translation. The gallery images are the same in both languages; see the attached screenshot.
Can you please share a product page URL where I can see the issue? You can also try to edit the product page in English > Make a small change to the content > Save > Update the translation and see how it goes.
I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.
It might be a caching issue somewhere else. For this product page hidden link
I change the gallery image but it isn't displayed in the frontend even in the original language English. Please check the attached screenshots. I suggest you clear the cache in WP Engine hosting or disable that module and recheck the issue.
After restoring your site on my localhost, all the gallery images are displayed on the translation product pages. So I'm sure that it is related to the caching issue. Maybe the WP Engine cache, please follow their documentation to purge the cache and let me know if it helps. hidden link
It turns out there is a cache that can be cleared in Settings/Beaver builder/tools.
Adding an image in each gallery and saving, then deleting the image and saving, then clearing the Beaver builder cache reset it enough to display the correct images in the product gallery.
Issue resolved.
Cheers,
Graham.
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.