how to remove dead pictures how to remove dead pictures
 

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

how to remove dead pictures

Started by dt, April 05, 2004, 12:26:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dt

ok some things that i have noticed in my album is that i have reuploaded the pictures into another folder and delted thoose certain pics in that directory and that folder and it still shows up

well heres a link to it
http://rapid.50free.org/gallery/thumbnails.php?album=lastup&cat=0&page=27

 :?

Nibbler

You have to delete images through coppermine, not by deleting files yourself. The database needs to be updated when pics are removed, and the only way to do this is by using coppermine's own interface.

dt

im  sure i deleted it using the coppermine

caus i had this problem uploading it and it didnt show and yeah

what can i do to fix it???

or any other suggestion please

Nibbler

Can't you just delete the broken pics from within coppermine ? this should remove them from the database completely.

dt

i think i renamed the folder first before i delete it therefore i can delete it now :(

is there any way to delete it from the database code or something  :)
or what sould i do, i dont want to leave it like this :cry:

Joachim Müller

use a tool like phpMyAdmin and edit the table cpg11d_pictures manually (delete the records with the dead links). Back up your database before doing so (in case you delete records you weren't meant to). Next time, use coppermine to delete pics, as coppermine will delete both the records in the database and the files (that's one of the main advantages of using a software like coppermine). Once pics are within coppermine's database, you mustn't touch them with ftp.

GauGau

warteschlange

Quote from: "gaugau"use a tool like phpMyAdmin and edit the table cpg11d_pictures manually (delete the records with the dead links). Back up your database before doing so (in case you delete records you weren't meant to). Next time, use coppermine to delete pics, as coppermine will delete both the records in the database and the files (that's one of the main advantages of using a software like coppermine). Once pics are within coppermine's database, you mustn't touch them with ftp.

GauGau

i just want to remind, that a good database application never should behave as the sole and unique modifier of content. Just imagine, as it happens in my case, someone uses two different gallery-applications and use the same folders, which is always preferable.
Now i don't think that the rebuild query is very difficult.  You should  provide a simple dialog which allows to remove broken database entries.
Allowing people to upload by FTP means, they can delete images, even by mistake.  

Andres