I'm new here, so I hope I've posted this in the right place.
Basically, I have a problem and I've scoured the web for a solution or a gallery which does exactly what I need, but to no avail, so here goes.
I'm trying to build a photo gallery for a friends website. What I need is the ability for the script to read straight from the directory and display those images, BUT(this is where I struggle), I then want to be able to click on that image and have it display in a box to the right - on the same page.
Any help would be great, because I'll be pulling my hair out until I'm bald otherwise!
I really have tried looking everywhere, altering bits of code I've put in. I haven't really got much to go on at the moment. I wouldn't ask for help if I hadn't tried dealing with it myself - I'm a very proud soul...
So if anyone knows a nice simple solution, I'd be grateful...
AdminNote:i deleted the post i made, but it is back now thats why you did not find it earlier.
Last edited by codefreek : 07-29-2009 at 02:36 PM.
Reason: note added: i deleted the post i made, but i put it back thats why you did not find it
Set, dir, read dir, print from dir..
i would say is the simple answer to the first question,
the second, well as Hightower said, that can be fixed with,
I've managed to get the images to display on the page, but I'm still confused as to how to get them to open larger within the page - presumably with a JS 'onclick' function. I don't know how to implement this within Dreamweaver, as I'm used to having an image to click on, but obviously it only shows code for now.
With regards to Jquery, I've looked at the website, downloaded it and have no idea what to do with it, how to use it or anything...
I know me giving this to you won't help you learn that much but feel free to ask questions on how it works.
Sorry, some factors that i saw just trigged me to say something for safety of talkphp users, but anyways i am sorry. And on a side note: other forums do also ask for people to post scan results if you upload a file into the forum. Not that hard to do, and proofs the safety of the file. Don't see why we need to make a big deal of that.. just scan it or don't anyways, i don't think i did anything wrong by just alerting the users or did i ? if so then well i did what i thought was right..