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

    I 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!

    • This topic was modified 8 years, 3 months ago by fzsuzsi.
    • This topic was modified 8 years, 3 months ago by fzsuzsi.
    • This topic was modified 8 years, 3 months ago by fzsuzsi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry still one-by-one, but at least you can rename the filename, links and thumbnails in one go.
    https://www.ads-software.com/plugins/rename-media-files/

    Thread Starter fzsuzsi

    (@fzsuzsi)

    Thank you very much for your answer! I checked the plugin, however, unfortunately it does not seem to update URLs in the database. If I change the filename, I receive a 404 error. I also tried Media File Renamer, but the result was the same. Maybe it’s not a plugin problem, but a website-setting issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images are not displayed after WordPress database update’ is closed to new replies.