forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Tornado on December 07, 2004, 05:23:52 pm

Title: batch delete
Post by: Tornado on December 07, 2004, 05:23:52 pm
hi, I've got a problem. The thing is that I have to "tidy up" on my webspace because the photos eat to much space.

Is there a possibility to delete all pics that have been viewed less than, for example, 5 times... ??

a tool? anything like this?

thy in advance
Title: Re: batch delete
Post by: Hein Traag on December 07, 2004, 06:32:50 pm
In Admin mode there is a button right next to each album which is named Edit Files.

Click it.. it displays all pics in that album and also the number of times its been viewed.
Title: Re: batch delete
Post by: Tornado on December 07, 2004, 09:58:23 pm
yeah I know this feature... but it takes too much time to go through all the albums and search the ones out that have been viewed only few times.

what I'm looking for is a tool where I can set "delete all files viewed less then 5 times" or something like that...
does anybody actually know such a tool??

or another way than browsing through all the albums...


thx
Title: Re: batch delete
Post by: kegobeer on December 08, 2004, 07:07:38 am
There has never been any code developed with that kind of functionality.  The query would be straightforward though:

delete from {picture table} where hits < 5
Title: Re: batch delete
Post by: Hein Traag on December 08, 2004, 10:38:31 am
I would like to make this a feature request, to be put on the album edit page.
He's probably not the only wanting this and it could proof usefull to a lot of people.

Just a thought. Adding an option on the page mentioned above with a choice option up to what number of hits should be removed from a album.

Feature request yes or no ?
Title: Re: batch delete
Post by: Joachim Müller on December 08, 2004, 11:31:53 am
yes, of course you can request anything. If someone finds it usefull for the majority of users, it might go into the release. Moved to feature requests board ;)

Joachim