Advanced search  

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

Pages: [1]   Go Down

Author Topic: Does every file uploaded have a unique id?  (Read 2589 times)

0 Members and 1 Guest are viewing this topic.

uuu288

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Does every file uploaded have a unique id?
« on: March 12, 2007, 03:09:58 pm »

What about if 2 individual user upload their file in same file name? 

Does every file uploaded have a unique id?  How can we display them in the page?

Thanks,
« Last Edit: March 13, 2007, 08:50:19 am by GauGau »
Logged

Nibbler

  • Guest
Re: Does every file uploaded have a unique id?
« Reply #1 on: March 12, 2007, 03:54:22 pm »

Files are renamed if they conflict, and each has a unique id (pid). This is used for the static link in the picinfo section under the file in the intermediate view.
Logged

uuu288

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Does every file uploaded have a unique id?
« Reply #2 on: March 12, 2007, 04:08:43 pm »

Hi Nibbler,
Thanks for your fast reply.

Is it bossible to rename all the file once it is uploaded (or confirm uploaded) for later easy management?  So I can call every file easily?

BTW, where does the original file stored?  can it be reached by a link (to download)?

Thanks very much for you help! 
george


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Does every file uploaded have a unique id?
« Reply #3 on: March 12, 2007, 06:31:40 pm »

Is it bossible to rename all the file once it is uploaded (or confirm uploaded) for later easy management?  So I can call every file easily?
Not recommended. You (the human) doesn't have to keep track of files - that's what Coppermine is designed for: it keeps track of filenames and locations, no need to rename stuff. Renaming files by custom patterns is not part of the Coppermine user interface. If you need this, you'll have to do so manually.

BTW, where does the original file stored?
Depends on the upload method (http uploads vs. FTP-upload plus batch-add. HTTP uploads go to /coppermine_folder/albums/userpics/XXXXX/, where XXXXX equals 10000 + user id. Take a look at it using your FTP app. Right-clicking on the image, choosing "properties" in the context menu is another option to find out the paths. Pretty basic stuff...

can it be reached by a link (to download)?
Sure, see my answer above. There are mods that even display an explicit download link.


We have a "one question per thread" policy that you agreed to respect when signing up. Please do so in the future.
Logged

uuu288

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Does every file uploaded have a unique id?
« Reply #4 on: March 13, 2007, 08:40:45 am »

Thanks GauGau for your kind reminder. 

Topic closed!
Logged
Pages: [1]   Go Up
 

Page created in 0.045 seconds with 20 queries.