I have a small script that reads all of the image files from a directory, and the directory contains images and thumbnails, the images are named img.jpg and the thumbs img-tn.jpg I do not wish for the script to remove "-tn" for when I want to display or link to the larger images. Is there a function that can do this? (Note that not all of the filenames will be identical in size, but the thumbnails all end with -tn)
2007-02-05
04:20:19
·
1 answers
·
asked by
toko
3
in
Computers & Internet
➔ Programming & Design