News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Photo storage problem

Started by Mav (c), October 13, 2003, 11:50:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mav (c)

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 :) )

Joachim Müller

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.

GauGau