Hello there,
Is there anyone out there who can help me with a couple of changes i want to implement?
here we go:
1. On the homepage the description from the subpage should be limited to the first couple of words(title?)
2. On the thumbnailpage i would like to have also a description.
3. I rather not rename the pix, so I would love to have the titledescription be generated by increasing numbers instead of the original pix-name.
4. couple of small other changes..
I love to speak to someone who can do some work on my site.. please let me know.
greetings,
Momo
Comments
#1. You can use the PHP substr() function to copy part of a string. `substr(getAlbumTitle(), 0, 25);` would, for instance, give you the first 25 characters of the title. For breaking at words you would have something like
`$title = getAlbumTitle;
if(!($pos = strpos($title, ' ', -1)===false)) {
$title = substr($title, 0, $pos);
}`
which would give the title up to the first blank.
#2. `getImateDesc()` will give you the picture description. Just add it to your thumbs loop code.
#3. You can set the title of the image independent of the file name. Use the Admin interface. Sorry, on autosequenc numbers.
#4. ...
#