News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Remove pictures from gallery, rather than just delete.

Started by JasonB, August 07, 2005, 04:08:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JasonB

It would be nice if there were a "remove from gallery" option that would be like delete, except that it wouldn't touch the file system itself - rather it would just take the entry out of the database.

If I have, say, 50 pictures and I want to rename them all in some manner, what I have to do at present is move or copy them elsewhere (so I don't lose the files themselves) delete the pictures from Coppermine, rename them, move/copy the renamed version back, and then batch add them back in again.

If I could just get them out of the database, but leave the files instact, I wouldn't need to worry about doing the move/copy - I could leave them where they are and just rename them directly.

Nibbler

Just comment out the unlink() line. Why can't you do your renaming through coppermine ?

JasonB

> Why can't you do your renaming through coppermine?

For individual picture renaming, see this thread. <grin>  For bulk renaming, the Admin Tools is far too limited.  Unless I'm just blind and there's some other method I can use, I don't see how to do a rename of a file on disk along with its already existing entry in the database.