is there a way to stop people being able to give image titles really long name?
I'd like to be able to restrict the number of characters in an image title to around 15.
Where would the place be to write a truncate bit in?
Any help would be great.
Cheers
Nick
- under upload.php around line 2178 (when people upload pic)
- under editOnePic.php around line 39 (when edit one pic)
- under editpics.php around 105 (when edit more than one pic)
you can find $title and you can do what ever want to do with ;)
hmm this seems like it might be a bit too hard for me to figure out after all...I am not a programmer
All I want is to truncate the image titles that cpmfetch grabs from coppermine....I tried to do this for a while but it seemed it might be easier to just truncate the actual image titles and leave cpmfetch out of it.
Now I may just leave out the titles of my cpmfetch code.
thanks for the help
Cheers
nick