coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: Mav (c) on October 13, 2003, 11:50:18 AM

Title: Photo storage problem
Post by: Mav (c) on October 13, 2003, 11:50:18 AM
I've installed coppermine 1.1.1 on my local machine to test it and to get used to the script. In that install when I uploaded an image as a normal user, the image was stored into a seperate folder /userpics/albums/10001

Under another user the photo's were stored in 10002 and so on.

But now I've installed the script on my webserver in exactly the same way, but the script now puts all the photo's of all users just into /userpics/albums/ so not in seperate folders.

That's pretty annoying if you have lots of users and lots of photo's. I've chmodded the userpics folder 0777.

Anyone any idea how to fix this?

Thnx

(keep on going the good work :) )
Title: Photo storage problem
Post by: Joachim Müller on October 13, 2003, 10:47:21 PM
you (as the gallery admin) should use ftp uploads and batch-add and leave the upload via web interface to your users (if you grant them upload at all). To upload by ftp, create subfolders within /albums to store your pictures in - don't ftp-upload to userpics.
Regarding your problem: check if you've CHMODed /albums and /albums/userpics correctly.
I wouldn't care about the structure within /userpics - the database keeps track of the pics, you don't have to. We used to have this discussion before, if you want the "more detailed" version of this discussion, search the old board (http://coppermine.sourceforge.net/oldboard/).

GauGau