• Resolved Mr. Deb

    (@silumant)


    Hi, your plugin can’t differentiate between jpg file & jpeg file. I set to auto rename as per media title. When I upload 2 images, one in jpg & another in jpeg with same media name; your plugin renamed them as same. It should rename them differently. It works fine till I use a plugin to convert my images to webp. So when your auto-renamed images are converted to webp; their extension changes to webp. Then both images look identical.

    Example: In my woocommerce store, I upload 2 different product image, bottle.jpg and bottle.jpeg. Then after publishing, both are renamed to same. Then I used another plugin to convert them to webp. But this time, their extension changed to webp and due to this, both images look identical. I hope you understand my situation.

    So is there any way to make the plugin rename differently to jpg & jpeg images.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Mr. Deb

    (@silumant)

    I also found another issue. Suppose I take 2 png images and one jpg image with the same media title. Then upload them while creating a product. This plugin makes one png image and one jpg image with the same name, another png image with +1 name extra. In sort, 2 images with duplicate names (but different extensions of png & jpg) appear. But when I converted them to webp, these 2 duplicate images became similar in the frontend.?

    Currently, the only way to solve this issue is to find these images and manually rename them.?

    Is there any way to solve this issue? So that this plugin will automatically rename images in such a way that there will be no such duplicate renaming issue when uploading jpg/jpeg/png images.?

    Thread Starter Mr. Deb

    (@silumant)

    Hello, any reply???

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @silumant,

    I feel like your issue is not coming from Media File Renamer at all – it seems to come from your converter. If I understand well, you have files like this:

    – hello.jpg
    – hello.jpeg

    Which is totally fine. After using the converter:

    – hello.jpg => hello.webp
    – hello.jpeg => hello.webp

    If that’s really what’s happening, your converter is not good at all; of course, before creating a new filename, it should check if it exists already. If it exists already, it should take the appriopriate action.

    If you want to fix this using Media File Renamer, you could indeed rename all the files by adding the extension as part of the filename, like this:

    – hello-jpg.jpg
    – hello-jpeg.jpeg

    That would fix your issue, but those filenames are really ugly. I doubt it’s a proper solution. But if you want to do that, I can tell you how.

    Thread Starter Mr. Deb

    (@silumant)

    Hmm, I can understand now. I have changed that converter & now using EWWW for webp. And it is working well, no such issue.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yes, EWWW is a very good choice ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working in renaming jpg & jpeg images’ is closed to new replies.