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: changing filenames  (Read 3738 times)

0 Members and 1 Guest are viewing this topic.

arkamark

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
changing filenames
« on: April 27, 2010, 01:03:03 pm »

http://www.earstretchers.co.uk/index.php

Hi,

Thanks for the wicked software!
I'm using Coppermine 1.4.19 stable

I'm running a public gallery, with people uploading their own images.
Unfortunately, the filenames they use for the images they upload are just what the camera named them (ie 23465DSC.jpg)

I would like more descriptive names for the files.
Is it possible to change the filenames of the images once they have been uploaded?

Thanks.
Mark
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: changing filenames
« Reply #1 on: April 27, 2010, 06:14:36 pm »

First you need to upgrade to the latest release (currently 1.4.26). It is quite easy and should take you a few minutes.

As for changing filenames you would be better off getting users to add descriptions instead. You cannot exactly put much in a filename but you can add quite a decent description to any image. The facility is already there and you can edit those descriptions afterward.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

arkamark

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: changing filenames
« Reply #2 on: April 27, 2010, 06:38:41 pm »

I would like the filenames to be more descriptive for search engine purposes.
The name of an image is an important factor for search results.
More so, than the description around the image.

A standard name like 456421dsc.jpg is not helpful for this.

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: changing filenames
« Reply #3 on: April 27, 2010, 07:17:10 pm »

Coppermine is a database-driven app. The database keeps track of file names. The human doesn't have to. Your site's visitor don't care for file names, and you should not care neither.

Anyway, if you must, you can rename your files on file system level using your favorite FTP app. Then you need to reflect the change by editing the corresponding record in coppermine's database (pictures table) using a third-party tool like phpMyAdmin. However, that's not advisable at all.

You still need to upgrade - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why
Logged
It is a mistake to think you can solve any major problems just with potatoes.

arkamark

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: changing filenames
« Reply #4 on: April 27, 2010, 07:37:29 pm »

thanks for the reply
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.