Support » Plugin: Robin image optimizer — save money on image compression » Revert “Resizing large images”

  • Hi, I am looking for a solution to bulk resize original images which are already on the server. The Resizing option looked interesting in first place but I feel it a bit limited since it ads a copy of the original image with a suffix “-scaled”. Now I have the original image which is replaced in the DB by the new one, and this has sever side effects :
    – my image names changed for a more complex one (not good for clean SEO…)
    – the original image takes space on the server for nothing
    – Even when disabling the option it seems that the new scaled image is the only registered in the DB.

    So, how can I RESET everything that was done by the plugin >> switch back to the original image AND remove the scaled ones ?

    Alternatively or additionally, I would highly appreciate the ability to bulk resize the original images, on load or afterwards, with a checkbox to back them up or not, and surely without renaming them.
    You can eventually look to this plugin for the meta-data rebuild : “wpr-rebuild-meta-data-master” @ github (> 8 years old and not maintained).

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Temyk

    (@webtemyk)

    Hello.

    The suffix “-scaled” is added by WordPress itself. It has its own mechanism for reducing the resolution of images larger than 2560.

    You can restore the plugin backup, and all images will return as they were. But the images with the suffix will remain, since they were created not by a plugin, but by a WordPress

    Thread Starter tdechangy

    (@tdechangy)

    ok, I probably had a strange behaviour while testing some processes.

    I forgot to mention this essential question/proposal :
    – is it possible to update the “Resizing large image” value and then rescale all the older versions of the original images. This would answer the topic in a clever way.

    My other related proposal is still valid off course :
    – ability to bulk resize the original images, on load AND afterwards, with a checkbox to back them up or not, without renaming them.
    You can eventually look to this plugin for the meta-data rebuild : “wpr-rebuild-meta-data-master” @ github (> 8 years old and not maintained but still working if not to many images to process).

    Plugin Author Temyk

    (@webtemyk)

    Image resizing occurs only during image optimization. There is no way to change the size in the plugin after optimization. I think this functionality would be superfluous and few people would need it.

    Thread Starter tdechangy

    (@tdechangy)

    1/ Now, since the images are renamed with the -scaled suffix, what has to done with the original ones ? Can I delete them ?
    I would preferably use a way to reset the original images and erasing the -scaled onces. This is for SEO purpose and clean naming structure.
    Do you know how to revert this ?

    2/ about your answer : “I think this functionality would be superfluous and few people would need it.”
    >> I can’t agree for two reasons :
    – Many newbies might need a post-install optimisation of bad original images sizes.
    – setting a new value can always be needed (lower of course if all images have to be processed.

    > A good way to do so would be to allow to “restore original image(s), one by one or in bulk, then launching a new “max size for large images”, and launch the process.
    This is in fact what Imagifiy offers here https://imagify.io/documentation/restore-theme-images-original/ and here https://imagify.io/documentation/restore-images-original/

    • This reply was modified 11 months ago by tdechangy.
    Plugin Author Temyk

    (@webtemyk)

    To disable this suffix and generally resize large images in WordPress, use the hook big_image_size_threshold

    You can also restore the originals in the media library in the same way. But only one at a time. We will add a bulk action.

    Thread Starter tdechangy

    (@tdechangy)

    – about the hook big_image_size_threshold, I’m not coding at all and wasn’t able to see how to achieve what you said in the link. Only disabling the option is shown, but not sure if this would ever reset the initial image.

    Since I was quite busy on the topic, I ended using Imsanity to set a max image size for the original one. This had for consequence to remove the real original one and resize the _scaled one. Then regenerating thumbnails and removing unneeded (using Regenerate thumbnails advanced).
    I hope and guess that it didn’t brake anything about the original image (data..).

    If you had a snippet to launch once, to rename the _advanced images it would be awesome, otherwise it’s not dramatic. Sad that the reset original action in bulk didn’t exist yet.

    – Any ETA for the bulk restore action please.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Revert “Resizing large images”’ is closed to new replies.