I'm trying to code a simple custom image gallery for my site. I'm trying to keep it as simple as possible. What i have is images with names like;
John_and_Jane_at_Ibiza.jpg
How can i take the file name and remove the underscores (_) and file ending (.jpg/.gif) so that i end up with a simple discription of the image which i can put in the page like $title
Thanks
Visual