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: to modify the noun of the file jpg on the ftp  (Read 2842 times)

0 Members and 1 Guest are viewing this topic.

magic.m

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
to modify the noun of the file jpg on the ftp
« on: October 31, 2004, 11:20:00 am »

Hello!  this text is translated automatically by a translator. I hope that it will be comprehensible.
I would like to know if it is possible to re-elect by ftp the name of an image deposited by a user (in the file userpics thus) without losing the bond towards the image on the photo gallery? As I think that that is not possible, how to make, most simply possible, to obtain this result?


Merci .
« Last Edit: November 01, 2004, 03:15:40 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: to modify the noun of the file jpg on the ftp
« Reply #1 on: October 31, 2004, 11:57:37 am »

Renaming a file is not possible with any tool within coppermine once it exists in coppermine. If you must edit it, you will have to do so both in your database (using a tool like phpMyAdmin) and in your file/folder structure on your webserver (using your ftp app). This is not recommended though and unnecessary imo, as filenames don't matter that much and are hardly viewed (as you are suppossed to use title and caption in coppermine).
Why on earth do you want to do that?

Joachim
Logged

magic.m

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: to modify the noun of the file jpg on the ftp
« Reply #2 on: October 31, 2004, 01:22:13 pm »

why?
because certain user uses accents or many titles of files very long I like the things "clear and arranged". I found, I in parallel changed the name of the fichier.jpg in the base of data and the repertory.  thank you.

perhaps exists T-it an option to prevent the users from using the accents or names too long?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: to modify the noun of the file jpg on the ftp
« Reply #3 on: October 31, 2004, 02:17:54 pm »

coppermine config: edit the field "Characters forbidden in filenames" and add "áàâéèêíìîóòôúùûÁÀÂÉÈÊÍÌÎÓÒÔÚÙÛäöüÄÖÜñÑ" and so on to the list that already exists in this field.

Joachim
Logged

magic.m

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: to modify the noun of the file jpg on the ftp
« Reply #4 on: October 31, 2004, 05:00:45 pm »

merci !
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.