Support » Plugin: ShortPixel Image Optimizer » Does it compress and then resize?

  • Resolved homelesshenry

    (@homelesshenry)


    Are images compressed first then resized or the other way around? Wouldn’t it be more efficient to resize then compress?

    In any case, the reason I’m asking is because I noticed if you upload a photo it will be stored as the original dimensions after upload, and then if you immediately post it both the dimensions and filesize will be that of the original.

    It is only after a couple minutes does the image get compressed, resized, and then replaced.

    One of the problems is if your site is popular, I believe all users who see the image prior to the couple of minutes it takes to compress/resize will get the original version cached in their browser.

    I’ve noticed other compression plugins seem to resize it immediately upon upload, avoiding at least half of this problem.

Viewing 1 replies (of 1 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @homelesshenry,

    Both the compression and the resizing happen on our servers, that is:

    1. An image is uploaded
    2. The image is neither resized nor optimized
    3. The image is sent to our servers
    4. The image is returned resized and optimized
    5. The old image is replaced with the resized and optimized one

    If you need to have the resizing done as soon as possible, then you could use the plugin https://wordpress.org/plugins/resize-image-after-upload/ together with ShortPixel.

    But bear in mind that, using that plugin, you will not have a way to return to the original dimensions (unless you have a backup on your computer).

    Cheers!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.