Firstly, can I just say I'm not a web developer, and I'm building my site using Wix, because in terms of design, thats the best/cheapest option. Even though 'flash is a crime'. Whatever, cant afford for a professional web developer and not worth it on such a small project. Rant over heres my Problem/Question: Does anybody know where the code will be, that I could inject into my site, that will allow this: For someone to upload something onto my site, and then for it to go onto another page to be visible as a thumbnail. Inside my head, this probably makes a lot more sense, but anyone with any info would help Thanks
Hi there, Its no nonsense, but its more then just a couple of lines. You'll need a script that will process the uploaded image (check for real image, renames it to a unexecutable file) and a script to display the 'thumbnail'. Its like a line of 200 but there are plenty of upload scripts available if you search! http://www.google.nl/search?rlz=1C1...-8&q=simple+image+upload+and+thumbnail+script
You need an input element, with the type of "file" in your client-side code. On the server-side, you need a little code to put the file somewhere. Then you'll need either to rewrite your page to include the file uploaded as a thumbnail, or you'll have to store the name of the uploaded file in a database and have the page get the name of the file to make a thumbnail of from the database. Tizag has a pretty good explanation. tizag dot com/phpT/fileupload.php