Jump to content

Help with uploading pictures


TapeGun007

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/196322-help-with-uploading-pictures/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.