• Resolved strid3r

    (@strid3r)


    In reference to this thread: https://www.ads-software.com/support/topic/remove-original-images-3/

    The problem is: When I have Resize larger images checked in the settings, and then also have the Disable Big Image code installed (see below), Imagify creates 2 images: an Original image file unchanged + Scaled image file that is sized as the Resize larger images max pixel size settings.

    The way this should be working is: No scaled image is created and the Original image is set as the Resize larger images max pixel size settings.

    Rather than the scaled image not being created and my original image being resized: The scaled image is being created using the Resize lager image max pixel settings, and the original image is being left alone. It looks like the process is REVERSED. Scaled should not be created. Original should be resized.

    add_filter( 'big_image_size_threshold', '__return_false' );

    This is no longer working. I have tested it on a few sites. I can confirm this filter code works without Imagify and works properly with other compression plugins like Shortpixel.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi,

    Thank you for reaching out.

    Regarding your question, if you disable the backup option in Imagify settings, no backup of the original image will be kept.

    Additionally, when using the big_image_size_threshold code/filter:

    • If you uncheck the Resize Larger Images option, the original image will remain full-size and optimized without creating a scaled version, which is the expected behavior.

    I see that you opened a ticket in the past regarding this and would request to follow up if further assistance is needed.

    Best regards,

    Thread Starter strid3r

    (@strid3r)

    The Backup Original Images is uncheck = backups are turned off.

    The Resize Larger Images is checked = resize images is turned on.

    I have tested this on brand new installs. Try it yourself. It won’t work correctly. If I disable your plugin, scaled images are no longer created with code. Try it out, you will see that you plugin is not resizing original image and creates a scaled version with Filter applied.

    I opened a ticket up about this before and was hoping I could get fresh eyes on this, because the previous support ticket stalled.

    • This reply was modified 5 months, 1 week ago by strid3r.
    • This reply was modified 5 months, 1 week ago by strid3r.
    • This reply was modified 5 months, 1 week ago by strid3r.
    Plugin Author WP Media

    (@wp_media)

    Hi,

    Thank you for your reply.

    Please allow us some time to test this and get back to you.

    Best Regards,

    Plugin Author WP Media

    (@wp_media)

    Hello @strid3r,

    Thank you for your patience.

    Here’s what I did to address the issue:

    1. I added the code to disable WordPress’ Big Image Threshold in the theme’s functions.php file: Screenshot.
    2. Then, I unchecked the “Resize larger images” option in Imagify settings: Screenshot.
    3. After that, I uploaded an image to the media library (example image: Pexels Photo).

    Upon uploading, no scaled version was created: Screenshot. Imagify then optimized the original image directly: Screenshot, and the original image size was reduced from 2.4 MB.

    Please give this method a try, and you should end up with just the original image on your server without a separate scaled version.

    Let me know how it goes!

    Best Regards,
    Saransh.

    Thread Starter strid3r

    (@strid3r)

    "Then, I unchecked the “Resize larger images” option in Imagify settings"

    The original image’s dimensions are no longer resized.

    "Imagify then optimized the original image directly"

    Yes, the image was optimized, but not resized. If the image you upload is 6000×6000, the image will be optimized (compressed), but the size will be 6000×6000.

    Nothing has been fixed. The goal is to have the original image be both COMPRESSED + RESIZED with NO SCALE VERSION.

    John

    (@jemoreto)

    Hello guys!

    I’m having the same issue. With “Resize Larger Images” turned on, original image is not being deleted (it’s being kept in image library, no matter how much large it is), and a new image is being generated with suffix “_scaled”.

    Filter add_filter( 'big_image_size_threshold', '__return_false' ); set or not, looks like it has no difference.

    I just expect to: on turning “Resize Larger Images” on, the original file would be scaled down to width set on this option, and the original file should be forever deleted. And no image with suffix “_scaled” created.

    Thanks

    • This reply was modified 5 months ago by John.
    Plugin Author WP Media

    (@wp_media)

    Hello,

    Thank you for your patience.

    After further investigation, I can confirm that Imagify is currently overriding the filters related to big_image_size_threshold, which is likely causing the issue. I completely understand your concern about keeping only one optimized image instead of two.

    I’ve submitted a report to our developers regarding this, and while I can’t provide an exact timeline for a fix, I’ll make sure to reach out as soon as there’s an update.

    We appreciate you bringing this to our attention.

    Best regards,
    Saransh.

    Thread Starter strid3r

    (@strid3r)

    Hello, any update on this?

    Plugin Author WP Media

    (@wp_media)

    Hello,

    Thank you for your message.

    You can track the issue here: https://github.com/wp-media/imagify-plugin/issues/487. I don’t have any ETA as of now. But rest assured, I’ve given heads to our developers regarding this.

    Thank you for your understanding.

    Best Regards,

    Thread Starter strid3r

    (@strid3r)

    Still not working. Why is this taking so long to fix? Been broken for more than a year now.

    Thread Starter strid3r

    (@strid3r)

    Hi there. Checking in. Still not working. Any updates?

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