I am trying to get rid of guest image upload older than 2 years by forcing the image expire date.
This set expiration date on 5 images uploaded 3 years back. But even after one week of expiry the images are sill there.
Eg: https://gifyu.com/image/S
Anyone able to throw some light into how image expiration works. So I could further troubleshoot this.
Code:
update db1.images set image_expiration_date_gmt='2017-12-16 13:10:00' WHERE image_date <= '2014-07-05 00:00:00' and image_user_id is NULL;
This set expiration date on 5 images uploaded 3 years back. But even after one week of expiry the images are sill there.
Eg: https://gifyu.com/image/S
Anyone able to throw some light into how image expiration works. So I could further troubleshoot this.