createPhotoWebPages.pl - Renaming Rules

back to main page

The following section briefly introduces the rules that are applied when renaming image files (and associated configuration entries).

One additional rule that is always applied affects HTML-Entities, which are permissive in IMAGE_NAME entries. They are replaced by the first letter following the ampersand ("&") character.

Let's look at some examples. They will show more clearly how to apply the different renaming configuration entries.
It is assumed that images have been scanned using the command:
-scan -rename -ext -prefix
The rename configuration entry values are applied as described above.
The table describes:

Original file name after "-scan" IMAGE_NAME IMAGE_NAME changed into file name after "-rename"
DSCN4325.JPG aa_DSCN4325.jpg DSCN 4325 Großer Vogel aa_GroserVogel.jpg
MyFirstIMage.jpg ab_MyFirstImage.jpg My First Image My first Image ab_My_firstImage.jpg
Image1.jpg ac_Image1.jpg Image 1 My second Image 1 ac_My_secondImage1.jpg

back to main page


Last Change: ,
Stefan Spaeth, S.Spaeth@z.zgs.de
Copyright © 2002 Stefan Spaeth