• Resolved blurry7923

    (@blurry7923)


    Hello,

    I am using your plugin, and I found out a potential bug. I thought that your plugin was not working, but when watching on the Media Library which one are converted, and which one are not, I found out that all files with .jpeg extension are not processed, whereas all the files with the extensions .png/.jpg/.webp have the stats on the right side Converter for Media.

    Could you check if you missed the .jpeg extension in your code, whereas it is explicitly written in the settings “Supported files extensions” .jpg/.jpeg ?

    Best regards,

Viewing 15 replies - 1 through 15 (of 38 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @blurry7923,

    Thank you for your message.

    Could you please send me a screenshot of this and the URL to the image that has not been converted?

    Best, Mateusz

    Thread Starter blurry7923

    (@blurry7923)

    Hello @mateuszgbiorczyk ,

    Thank you for the quick reply.

    Here is the URL with no file conversion.

    Have you identified the error?

    Best regards,

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks @blurry7923,

    Can you send me a screenshot of the Bulk Optimization of Images section in the plugin settings.

    Thread Starter blurry7923

    (@blurry7923)

    Hello @mateuszgbiorczyk ,

    Here are the screenshots:

    Screenshot 1

    Screenshot 2

    Screenshot 3

    Apart from the jpeg conversion issue, I found that the completion rate is above 100% (in Screenshot 1).

    Thanks,

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks @blurry7923,

    Could you describe step by step all the activities you did before the counter exceeded 100%?

    Can you send me also a screenshot of the Help Center tab in the plugin settings?

    Thread Starter blurry7923

    (@blurry7923)

    @mateuszgbiorczyk I do nothing more than pressing the “Start Bulk Optimization”

    Here are the screenshots

    Screenshot 1

    Screenshot 2

    Screenshot 3

    Screenshot 4

    Screenshot 5

    Screenshot 6

    Screenshot 7

    Screenshot 8

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks @blurry7923,

    Can you download the entire /uploads folder in the /wp-content directory?

    Do you have any confidential or private images there? If not, could you send it to me? I will test it and let you know what happens.

    Thread Starter blurry7923

    (@blurry7923)

    I can send you a sample of 3:

    Sample 1

    Sample 2

    Sample 3

    Have you checked in the code if it could be a potential “.jpeg” issue? It is really weird that only .jpg works. I just tried for the same exact picture, in which I just changed the extension, and it is compressing the .jpg and keeping as it is the .jpeg.

    Also, a nice feature to have would be to have a checkbox in your settings, which rename the extension of newly uploaded files from their original extension, to .webp, so when it loads in the website, we don’t have weird extension which are not related to the real extension.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks @blurry7923,

    I have located the problem related to the incorrect calculation of the percentage of converted files. This was caused by trying to convert WebP files to WebP format. I fixed it in this plugin version:
    https://mattplugins.com/files/webp-converter-for-media.5.6.1-beta1.zip

    As for the “is not a valid image file” problem, there is indeed a problem with some of the images on your website. Please see for yourself the examples:

    I also checked the issue of .jpeg files and both .jpg and .jpeg files are converted. There are no problems with this on my test environment. I haven’t had any reports of such issues either.

    Can you check via FTP client if the following files exist on your disk?

    • /wp-content/uploads-webpc/uploads/2022/12/rocket-launch.jpeg.webp (or similar with that file name)
    • /wp-content/uploads-webpc/uploads/2022/12/image-climbing.jpg.webp
    Thread Starter blurry7923

    (@blurry7923)

    @mateuszgbiorczyk

    Thanks for the plugin, I will wait for the official release of the new version of your plugin.

    For the problem “is not a valid image file”, I don’t really worry, because the issue is raised on very old file, so I am just thinking about changing them.

    I checked on the FTP and the files don’t exist.

    I just used a random jpeg image on google and name one with the extension .jpeg and the other as .jpg and still no conversion for the second one (or at least no stats about that one). Are you sure about the test you performed in you test environment?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thank you for your answer @blurry7923,

    I will wait for the official release of the new version of your plugin.

    You can install this version now – I will add these changes in the next update.

    I checked on the FTP and the files don’t exist.

    Are you sure? Are you sure you’re checking them in the right location?

    Are you sure about the test you performed in you test environment?

    Yes!

    Thread Starter blurry7923

    (@blurry7923)

    • /wp-content/uploads-webpc/uploads/2022/12/rocket-launch.jpeg.webp (or similar with that file name) => ?
    • /wp-content/uploads-webpc/uploads/2022/12/image-climbing.jpg.webp ?

    For the jpg issue, i will need to rename every old .jpeg file to .jpg file, if you don’t see the issue. Are you sure you didn’t let an environment variable or something like that, around, in your test environment?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @blurry7923

    For the jpg issue, i will need to rename every old .jpeg file to .jpg file, if you don’t see the issue.

    Please don’t do that – it’s a bad idea.

    Are you sure you didn’t let an environment variable or something like that, around, in your test environment?

    I’m sure.

    Please install this version of the plugin and run the conversion of all images again by checking the “Force the conversion of all images again” option.

    Then please make me a screenshot of the entire list of errors that will appear during the conversion process.

    Thread Starter blurry7923

    (@blurry7923)

    I ran the new version of the plugin:

    1: Now it finish at 100% ??

    2: some not valid image error, but it is ok

    3: no error for .jpeg image, but still no conversion

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks @blurry7923,

    In the “Bulk Optimization of Images” section, please find “List of files that can be optimized”. Please expand the directories so that you can see the directory “uploads -> 2022 -> 12”.

    Do you see the rocket-launch.jpeg file there? Please take a screenshot and send it to me.

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘.jpeg not converted but .jpg converted’ is closed to new replies.