• 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 come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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