forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: JasonB on August 07, 2005, 04:08:44 pm

Title: Remove pictures from gallery, rather than just delete.
Post by: JasonB on August 07, 2005, 04:08:44 pm
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.
Title: Re: Remove pictures from gallery, rather than just delete.
Post by: Nibbler on August 07, 2005, 04:29:03 pm
Just comment out the unlink() line. Why can't you do your renaming through coppermine ?
Title: Re: Remove pictures from gallery, rather than just delete.
Post by: JasonB on August 07, 2005, 05:38:58 pm
> Why can't you do your renaming through coppermine?

For individual picture renaming, see this (http://forum.coppermine-gallery.net/index.php?topic=20475.0) 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.