Delete ALL Pictures at Once! Delete ALL Pictures at Once!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Delete ALL Pictures at Once!

Started by nova-bossa, August 06, 2004, 07:49:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nova-bossa

how can i delete really ALL (!) pictures of all albums at once without deleting the albums?

Joachim Müller

doing this in one step requires you to use a database tool like phpMyAdmin. Browse the cpgXXX_pictures table with it and delete the contents of the table (not the table itself).

GauGau

nova-bossa

i am now at "cpg130_pictures".
there is a button on the navigation just above the table called "Empty".
shall i click on it to delete only the pictures?

Joachim Müller

the controls differ from version to version in phpMyAdmin. If unsure, look this up in the phpMyAdmin documentation.

GauGau

nova-bossa

at phpMyAdmin when you are at "cpg130_pictures" click on "Empty" and all pictures of all albums are deleted leaving the albums untouched.

d.l.h

After that you have to delete the picture files in the albums directory (in the sub direrctories)