batch delete batch delete
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

batch delete

Started by Tornado, December 07, 2004, 05:23:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tornado

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

Hein Traag

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.

Tornado

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

kegobeer

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
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Hein Traag

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 ?

Joachim Müller

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