forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: arkamark on April 27, 2010, 01:03:03 pm

Title: changing filenames
Post by: arkamark on April 27, 2010, 01:03:03 pm
http://www.earstretchers.co.uk/index.php (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
Title: Re: changing filenames
Post by: phill104 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.
Title: Re: changing filenames
Post by: arkamark 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.

Title: Re: changing filenames
Post by: phill104 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
Title: Re: changing filenames
Post by: arkamark on April 27, 2010, 07:37:29 pm
thanks for the reply