Hey all, I have a website for friends and family with all images on it. First there's the main page with all thumbs on it. When clicked you will see the image in a page with image.php?id= in the url. All the image file have a set of numbers, then the name and the extension so like this: 54785imagename.jpg Is there a way i can just take the numbers out of that file name from the url so that i can use it further down the page? For a comment script or something else i would like to add. So that i wouldn't have to do it manually for every image. Hope you get what i mean Thanks for reading /Sipifi
are all the images in the same directory? If so, we can just read the dir and pull out all the file names to use.
no, read the directory with php, so that you can output the links however you need. can you link me to this page?
I worked it out with something else than javascript already Thanks for your time though. I appriciate it a lot.