Restore Original Images Ability: Revert All Optimized Images in WordPress

Key Takeaways

  • Nexter Extension's restore-original-images ability reverts all optimized images to their original versions using backup copies.
  • Restoration is irreversible, permanently removing optimized images and leaving those without backups unchanged.
  • The ability returns a result object indicating success, count of restored images, count of failed restorations, and a summary message.
Table of Contents

The nexter/restore-original-images ability restores all images that Nexter Extension has optimized back to their original pre-optimization versions. It reads from the backup copies stored during optimization. This action affects every optimized image on the site and cannot be undone.

Key Takeaways

This action is irreversible. Once original images are restored, the optimized versions are permanently removed.

This ability takes no input parameters.

The restore only succeeds for images that have a backup stored by Nexter Extension during optimization.

Images without a backup are left unchanged.

After restoring, you can run nexter/bulk-optimize-images again to re-optimize from the originals.

Required Setup

This ability ships with Nexter Extension (Free). Images must have been previously optimized by Nexter Extension with backup storage enabled for this ability to restore them.

What It Returns

The ability returns a result object with: success (boolean), restored (count of images successfully restored), failed (count of images that could not be restored), and message (a summary string).

When to Use This Ability

Roll back all image optimization when the results are not acceptable and original quality is needed.

Restore originals before re-optimizing with different quality or format settings via nexter/update-image-optimization.

Related Documentation

Bulk Optimize Images Ability: nexter/bulk-optimize-images

Update Image Optimization Settings Ability: nexter/update-image-optimization

Get Bulk Image Optimizer Status Ability: nexter/get-bulk-image-optimizer-status

About the Author

sandip patel

WordPress Developer at POSIMYTH Innovations I am a passionate WordPress Developer at POSIMYTH Innovations, where I focus on building high-performance products and cutting-edge web experiences. Currently, I contribute to the development of major projects including The Plus Addons for Elementor, Sticky Header for Elementor, RankReady AI (LLM & SEO), and the SproutOS MCP server integration. I love bridging the gap between WordPress core functionality and modern AI capabilities. Beyond standard development.

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!