![]() |
|
Use number for photo's name - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Use number for photo's name (/thread-8112.html) |
Use number for photo's name - Brouette - 2011-01-16 Hello, First, sorry for my english... My problem : Gallery Photos - 2004-2005 - Camp : Ebly - DSC07580 With "2004-2005" the first album, "Camp: Ebly" the second one, and DSC07580 the photo's name. My problem is this ugly photo's name. I will prefer that something like "photo n°14" will be display for the name. Where the number is the number of the picture in the second album. I don't know how i can have this number. I hope you will be understand me, and help me. Corentin Rem : maybe i can directly change the name of files in my FTP, but i need a script to change automatically the name when I upload photos. It will be better ? Use number for photo's name - kagutsuchi - 2011-01-17 Beyond changing the names manually, you could simply change it in the theme to use http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionimageNumber Use number for photo's name - sbillard - 2011-01-17 You probably do not want to change the names via FTP as that will make them "new" items so any database type information you have edited will be gone. BTW, do not confuse the image "name" with its "title". The name is the file name of the image on disk. The title is the "caption" you may have made for the image. The above You can easily change the title in the admin section. (You can even change the name by doing a rename in the same place.) But of course, you have to do that for each image. Use number for photo's name - Brouette - 2011-01-17 Thanks kagutsuchi it's what i looked for ! Thank you both for this repsonse (so quick). |