Support » Plugin: Jetpack by WordPress.com » BUG: Jetpack related posts IMAGES error when STRESS MARK in the image FILENAME

  • Resolved Annonnimmo

    (@annonnimmo)


    Jetpack related posts doesn’t show the image of a post when this image has stress mark in his filename.

    These images don’t show up because their name is rendered incorrectly by Jetpack, for example the original image filename:
    http://www.mysite.com/wp-content/uploads/2016/12/felicità.jpg
    became this:
    https://i0.wp.com/www.mysite.com/wp-content/uploads/2016/12/felicità.jpg

    See:
    https://imgur.com/a/CDK70

    • This topic was modified 1 year, 11 months ago by  Annonnimmo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Stef

    (@erania-pinnera)

    I see what you mean, @annonnimmo! I’m Italian too, and I learnt the hard way many years ago to rename all the files avoiding all the special characters.
    As a personal advice, I’d suggest you to rename the files with special characters to avoid such clashes.

    As about the files that are already uploaded and not working at the moment, you can try fixing this by using this plugin:
    https://wordpress.org/plugins/clean-image-filenames/

    This special character issue affects also other users/languages, but although it’s been tackled already it seems like there’s not going to be a quick fix anytime soon – you can check those trac tickets to see what I mean:

    https://core.trac.wordpress.org/ticket/22363
    https://core.trac.wordpress.org/ticket/24661

    Meanwhile, the plugin I mentioned above should take care of that for you.

    Hope that’s all clear! Let me know if you have any other doubts or questions about it 🙂

    I’ll try the plugin to fix.
    The problem is that I’m not writing posts and inserting images… I should explain to the user to rename filename… for the umpteenth time…
    Thank you anyway.

    Sorry Stefania, that plugin (https://wordpress.org/plugins/clean-image-filenames/) is only for prevention.

    From the plugin FAQ:
    Can this plugin clean the filenames of existing files in the media library?
    No, this plugin only cleans the filenames of files when they are being uploaded to the media library.

    Not bad, but I don’t know how to bulk fix previous images filenames…

    Plugin Contributor Stef

    (@erania-pinnera)

    I’m afraid there isn’t much this plugin can do for your existing URL by now, @annonnimmo 🙁

    My best advice would be to re-upload the images with the amended URL and titles, replacing the special characters with ‘plain’ ones. I know that’s not ideal, especially if you have many images affected by that, but I reckon that’s better than keeping the image broken.

    Sorry for bringing bad news!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BUG: Jetpack related posts IMAGES error when STRESS MARK in the image FILENAME’ is closed to new replies.