• Resolved tonyastley

    (@tonyastley)


    Is it possible to remove the ‘-jpg’ part of the filename of the generated web files?

    For example current behaviour converts:

    image.jpg > image-jpg.webp

    I would like it to simply convert:

    image.jpg > image.webp

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @tonyastley,

    Thanks for reaching out. While the plugin doesn’t support the renaming of the -jpg suffix at present you can open an issue for this on the plugins GitHub repository if you wish. I’m also happy to create one for you on your behalf if you wish.

    Let me know if you have any further questions on this, and please inform me if you’d like me to create a GitHub issue regarding this for the team to consider for future releases.

    Thread Starter tonyastley

    (@tonyastley)

    Thanks for the response. It would be nice to be able to control this as it could open up other possibilities of delivering webp without re-engineering existing html/css to use the picture element.

    Plugin Support James Osborne

    (@jamesosborne)

    Absolutely! I’ve created the following GitHub issue:
    https://github.com/WordPress/performance/issues/545

    I’ll close this support topic however feel free to follow that issue on GitHub by subscribing. Alternatively if you would like to add anything to that issue feel free to chime in with your own comments for the team to review. Thank you!

    Hi @jamesosborne ,
    How about make options for filename
    Example:
    filename.jpg
    1/ filename.webp
    2/ filename.jpg.webp
    As now, I am using filename.jpg.webp

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @tonyastley Thanks for the suggestions, I can see you’ve also added these to the GitHub issue related. The team will certainly review your comment so keep an eye out for any updates on this on the GitHub issue.

    If you require any further assistance or have any questions on this plugin please can you open a new support topic where we can assist you individually.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove the ‘-jpg’ added to the webp filename’ is closed to new replies.