How to get the pics back when deleted from albums/userpics How to get the pics back when deleted from albums/userpics
 

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 get the pics back when deleted from albums/userpics

Started by yvesd, August 30, 2004, 12:12:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yvesd

Hi !

First of all, contratulations for this great piece of work, I discovered it yesterday !

I've got a little question : I noticed that the pics were stored in the albums/userpics folder.
But what can I do if this folder got erased ? I tried to remove the .jpg files, but the gallery didn't work properly after that. How to get things working again (rebuild the files from the SQL database) ?

Thanks in advance !

--
Yves

kegobeer

If the userpics directory was erased, the only thing you can do is recreate it via FTP or your control panel and upload the images again.  The files aren't stored in the db, so you can't rebuild the files like you suggested.

You can always ask your host to restore your site to an earlier version, if they do weekly backups.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

yvesd

Quote from: kegobeer on August 30, 2004, 03:56:21 PM
The files aren't stored in the db, so you can't rebuild the files like you suggested.

Oh, stupid me ! I saw the file size in the cpg132_pictures table, but that wasn't the record size ! Thanks for the answer, you can close this topic (and/or mark it as solved...).

bye