View Full Version : I need to mass rename sets of photos...
January 24th, 2006, 01:26 AM
I need to mass rename sets of photos to
"Catagory Name" "Unique String / sequential number"
(IE The pictures name will be the name of the catagory with a number)
I would also like to rename the picture files to the same.
Is there an option to do this in photopost or would I need a script to do it? I remember seeing something somewhere, but it may have been while testing coppermine just before i bought this script :p
January 25th, 2006, 08:50 AM
You would more than likely need a script to rename the files and update the record in the photos table. Nothing like that is being worked on here or has been worked on by us.
January 25th, 2006, 02:06 PM
OK Thankyou ;) How difficult would a script like this be to write and which areas of the photopost database will need updating?
January 25th, 2006, 02:41 PM
It is not a simple script. You might want to look at the 485-486 upgrade as in that one we move files and rename them in the database. You would need to do even more so than that as you need to grab the file rename it the medium and the thumb and then query the database to update the bigimage field in photos to reflect the new name
Good Luck with that one ;)
January 25th, 2006, 02:49 PM
:P Change of plan then ;) I'll delete all the offending files, rename on my PC and reupload to the ftp to reinsert into the database.
Should only take an hour or so... Is there an easy way to check with version of photopost I am running?
January 25th, 2006, 02:53 PM
should be in your admin panel if its semi current otherwise if its an older version it displays in the copyright in the footer
January 25th, 2006, 03:01 PM
OK Thanks ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.