Announcement

#1 2020-01-10 19:25:58

deljones
Member
2012-09-06
56

Deleting multiple albums

Hello

Please, can anyone help me?

A third-party app has generated over 500 albums with no photos. Is there a quick way to remove them all. The only way have been able to do it is to go to Administration, Albums, Manage. They are all listed and I can delete them one at a time but I have 548 empty albums.... Dull

Many thanks

Del

Piwigo version: 2.10.1
PHP version: 7.3.7
MySQL version: 5.5.57
Piwigo URL: http://

Offline

 

#2 2020-01-11 03:54:20

erAck
Only trying to help
2015-09-06
1998

Re: Deleting multiple albums

Easiest probably would be to delete them in the database from table piwigo_categories, if they have some prefix or other things in common then even per query. Backup the database before!

P.S.: Note to out-of-context readers: this works only if no images are associated with the categories/albums, otherwise leaves stale associations.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2020-01-11 10:49:30

deljones
Member
2012-09-06
56

Re: Deleting multiple albums

@erAck. That was great... All cleaned up. Many thanks for your help. I appreciate it.

Best wishes

Del

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact