• Resolved REGGSenterprises

    (@cruisenewsandreviews)


    I ran the scan and it shows 9515 images need to be optimized. Ran optimization on them 3 times but it still says 9515 images need to be optimized. Why are those images being ignored? GTmetrix also says they need to be optimized.

Viewing 8 replies - 31 through 38 (of 38 total)
  • Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Oh, ok. That makes sense.
    It is saying “no savings” on all of the images.
    Going to be a long process. Doing around 2k per minute right now so will take around 3 hours. Once completed, I will re-scan and let you know what it shows.
    Thank you!

    Plugin Author nosilver4u

    (@nosilver4u)

    Yeah, lossless compression never yields more results the second time around, unless you switch to a different tool, so that’s what I was expecting.

    There are three major jpeg libraries, the local version of jpegtran uses the stock libjpeg, there is also libjpeg-turbo that is used on most Ubuntu systems, and I think that’s what Google uses for their tests, because it is fast, even if it isn’t the best compression, and then there is mozjpeg, which the API uses with the highest compression. If you re-optimized everything with a different version of jpegtran, you might get different results, but otherwise it should say “no savings” every time.

    What we can do afterwards is run a query on the database to see if there were in fact any unoptimized images. So if you can, try not to upload any new images until after it finishes.

    When it does finish, there are two ways of checking the results. One is to look at the settings page, and see what it shows for savings. It should say 0, or pretty near that.
    You could also run a manual query on the database to see if there are any records where orig_size is not equal to (!=) image_size.

    EDIT: I should clarify that this only applies to JPG images. The PNG tools have a slight bit of randomness built-in when they select the best compression parameters, and it is sometimes possible (although rare) to get different results the second time around on PNGs even when doing lossless.

    • This reply was modified 8 years, 2 months ago by nosilver4u.
    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Unfortunately, my content is based on an auto post and believe it or not, if I turn it off, it goes haywire. Not the best written plugin but with some frustration, it does do the job. Because of this, I won’t be able to stop the possibility of new images being uploaded.

    Plugin Author nosilver4u

    (@nosilver4u)

    It shouldn’t be too big of a deal, the main thing is to make sure all your images are optimized fully at this point. Would be nice if we could confirm whether or not they already were, but not the end of the world ??

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Finally finished optimizing but now I am trying to scan to see what still needs to be optimized and it is stuck at zero out of 52k. Been like that for an hour.

    Plugin Author nosilver4u

    (@nosilver4u)

    See this video for how to find out what is going on behind the scenes: https://www.youtube.com/watch?v=V4U2hQlmkvQ
    It shouldn’t ever take more than 30-60 seconds unless you have millions of images. My test site has 150k images, and it completes a scan in about 12 seconds.

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    The process in that video is a little beyond my knowledge. I wouldn’t know what to do with the results.
    One of my other sites which is almost a mirror image of this site ran the scan on 23k images in about 5 seconds.
    I will wait until tomorrow and try it again to see if it was just something else running in the background that is hampering its progress.

    Thread Starter REGGSenterprises

    (@cruisenewsandreviews)

    Good news. I ran the scan this morning and it ran albeit slow. Took a good 10 minutes but that is actually pretty good for this site I think. A lot going on. The results showed only 12 images that needed optimizing. I optimized them and it came up zero to optimize.
    Thank you for your help!

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘Images not optimizing’ is closed to new replies.