changing filenames changing filenames
 

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

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