Support » Plugin: Compress JPEG & PNG images » Settings, in the background or during upload

  • aggk

    (@aggk)


    Hi,
    I was wondering if you could please elaborate a little on the difference between
    “Compress new images in the background (Recommended)” and “Compress new images during upload” ?

    If I choose “in the background”, does it mean that images are uploaded uncompressed then end up in some queue in the background before compression?

    For during upload it says “Uploads will take longer, but provides higher compatibility with other plugins”.

    Sometimes I see multiple instances of the same image in the media library (but I believe there are no actual file duplicates) after uploading with your plugin activated. Is this a sign of incompatibility with other plugin?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Hi there,

    The difference between “Compress new images in the background (Recommended)” and “Compress new images during upload” is when the image optimization happens. The first option means that images are being uploaded and then compressed in the background. With the second option images are first compressed and then uploaded.

    Regarding your question about multiple instances of an image, in the Media Library you can use the list view to see more details about the images. WordPress creates multiple thumbnails when you upload an image. Are these the multiple instances that you see or are you referring to something else?

    I hope this helps. Let us know if you have any additional questions.

    aggk

    (@aggk)

    Hi again,

    No, I’m not referring to the different image sizes created by WordPress.
    There are sometimes multiple rows/posts in the media library for the same image.
    Usually each have the same info, for example
    “1 size compressed
    2 sizes to be compressed
    Total savings 87% ”
    Unfortunately I have not found a clear pattern to when this happens, sometimes everything works as expected. If I delete post (+empty thrash) that had an image attached with multiple instances in the media library as described here. then the duplicate instances will remain in the media library (like orphans) but the file is not found on the server anymore.
    Any idea what could be causing this?

    Thanks!

    Plugin Author TinyPNG

    (@tinypng)

    Hi,

    That sounds really odd indeed.

    We found the following thread on the WordPress forums that sounds pretty similar: https://wordpress.org/support/topic/duplicated-images-in-media-library/
    Does anything reported in that thread match what you’re seeing in your WordPress installation? Are you never getting this behaviour with the plugin disabled?

    It could very well be an incompatibility with another plugin. The best way to find out what combination is causing it is to step by step disable other plugins/themes until it no longer occurs.

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