TapeGun007 Posted March 24, 2010 Share Posted March 24, 2010 I'm not asking anyone to code this for me, but I don't know where to start looking. Any URL's would be appreciated. What I want to do, is have a php page where I can upload an image. PHP will automatically resize the image, create a thumbnail image AND upload both of those. Then I would want a photo gallery to view the pictures. Can someone just steer me in the right direction? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/196322-help-with-uploading-pictures/ Share on other sites More sharing options...
o3d Posted March 24, 2010 Share Posted March 24, 2010 Have a look at this http://www.w3schools.com/PHP/php_file_upload.asp All the upload process does is get the file into your tmp php folder (usually /tmp/). Then you use move_uploaded_file to literally move the file from the tmp folder to the correct destination. Once this process completes is when I would recommend doing image manipulation on the saved image. http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php I also found an example here http://www.blazonry.com/scripting/upload-size.php Quote Link to comment https://forums.phpfreaks.com/topic/196322-help-with-uploading-pictures/#findComment-1030910 Share on other sites More sharing options...
TapeGun007 Posted March 24, 2010 Author Share Posted March 24, 2010 Hey, this is great info, thank you. I may end up writing my own gallery with all this info, it's very helpful. Quote Link to comment https://forums.phpfreaks.com/topic/196322-help-with-uploading-pictures/#findComment-1030912 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.