Images are not displayed after WordPress database update
-
Hello,
I had to update a client’s website from WordPress 3.9.2 to 4.6.1. The site is using WooCommerce. In the course of updating there was an automatic WordPress database update. Following the update, some of the product images are not displayed anymore. The images still exist in the Media Library. I think it may be a character encoding problem, because I found out the following:
The URL of one image is: https://gasztroordog.hu/wp-content/uploads/2015/11/Andre-Bonnet-Gr-Res-Brut-mér.jpg
The URL displayed in the code (as checked with Firebug):
https://gasztroordog.hu/wp-content/uploads/2015/11/Andre-Bonnet-Gr-Res-Brut-m%C3%83%C2%A9r.jpgI know there should not be foreign characters in the name of the image, but the site was built by another developer, and that’s what we have now. The language of the site is Hungarian, but it uses French characters as well. The language is set to hu-HU (<html lang=”hu-HU”> ).
I checked the system Settings under WooCommerce / System Status, and Multibyte String is enabled.
If I change the image to another one, without foreign characters in the filename, it is displayed, but there many “problematic” images one the site, and it would be very time consuming to change them one by one. Could anyone help me, is there a setting that solves the problem?
Many thanks in advance!
- The topic ‘Images are not displayed after WordPress database update’ is closed to new replies.