changing filenames changing filenames
 

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]

Main Menu

changing filenames

Started by arkamark, April 27, 2010, 01:03:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arkamark

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

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

arkamark

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.


phill104

Quote from: Joachim Müller on January 24, 2010, 10:45:47 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
It is a mistake to think you can solve any major problems just with potatoes.

arkamark