• Hey Guest, don't forget to VOTE on each RFC topic. Your voting determine Chevereto development! No votes, no development.
  • Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Delete gust images older than 1 year

tobi116

Chevereto Member
Please add an option to cleanup gust images older than a year or x no: of days. To save storage space this is essential as site get piled up with gust image which no longer viewed. Deleting these images manually is almost impossible when you have more than 100K images.
 
We already have this feature but it's limited to 2 days

SqyM2Zd.png
 
We already have this feature but it's limited to 2 days

I think what he want is delete existing guest images uploaded to the site older than a year. I am also looking for an option to clear up the disk space used up by older images.

I was thinking we could write a sql query to insert 'Expiration date' into images older than specific date. But not sure how the system will handle 100K images expiring on same date and time. So +1 for image cleanup feature.
 
Does chevereto counts views?
if it does, maybe an image with zero views in a 365 day period will be deleted
but that might remove some hotlinked images too from forums with dead threads
no one is viewing them, but the image is still there
 
Does chevereto counts views?
if it does, maybe an image with zero views in a 365 day period will be deleted
but that might remove some hotlinked images too from forums with dead threads
no one is viewing them, but the image is still there
Yes Chevereto does count views. So its about specifying a condition like delete images older than one year where view <100.

Since these are guest uploads and if they are hotlinking they are just stealing our bandwidth. If they really want to keep the images they should create an account and upload it under it. Unless someone view it on our site we don't get any value of storing these guest images for ever.
 
System handles deletes via lazy queue job (queue gets executed as a new request when someone browse your website) and is capped so it process small batches from time to time.

Forcing expiration via sql shouldn't be an issue at all.
 
Back
Top