Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Photo storage problem  (Read 4300 times)

0 Members and 1 Guest are viewing this topic.

Mav (c)

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Photo storage problem
« 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 :) )
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Photo storage problem
« Reply #1 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.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.