Help… I messed up with Smush and now my pics are missing

I used Smush on my site, and now a lot of my images are missing from different pages. It looks like around 50% of them are gone… and yeah, I know, I should have backed it up first, but I didn’t. :upside_down_face:

Any idea what could’ve gone wrong?

Sounds like a compatibility problem. Did you try disabling the feature to see if that fixes it? And yeah, next time, always download a backup of your database before making any changes.

Morgan said:
Sounds like a compatibility problem. Did you try disabling the feature to see if that fixes it? And yeah, next time, always download a backup of your database before making any changes.

But isn’t it too late? Won’t Smush have already resized the images? Will disabling it bring them back to their original size?

If you had the ‘Backup uploaded images’ option enabled in Smush → Bulk Smush, you can go to Smush → Tools and use the ‘Bulk restore’ feature to get your original images back. If that wasn’t enabled, you might need to restore a backup from your hosting provider if they have one.

You might want to check with your hosting provider. Some hosts, like SiteGround, do nightly backups. Maybe your host does too?

@Avery
Thanks! I’ll give that a shot.

I had a look at your site (thanks for sharing the link in the DM). It looks like the lazyload feature in Smush is causing the problem. You already have a ‘lazy’ attribute in the img tags, and when Smush adds its own lazyload, it creates a conflict, so the images don’t load.

You’ll notice that the first few images load fine. That’s because those have a high fetch priority, and Smush excludes those from lazy loading.

Turning off the lazy load feature should fix the issue.

@Ash
Totally agree with this!

Can you send me a DM with the link to a page that has the missing images? I can help figure out what’s going on. If you’re a premium member, you should also try opening a chat with their support team.