dominic600 Posted August 20, 2011 Share Posted August 20, 2011 How would I go about making it so users can upload there own photos and have other people view them on there own personal profile? I just cant seem to find a tutorial that helps me on what im trying to do. Thanks, Dominic Link to comment https://forums.phpfreaks.com/topic/245255-upload-specific-users-photos/ Share on other sites More sharing options...
gizmola Posted August 20, 2011 Share Posted August 20, 2011 I will assume you know how to make an html img tag. An image is a file. Here is the relevant page for building an upload form file-upload Typically people store the filename or a link to the filename. I'm going to assume you understand how to use mysql to update a column in the profile row. Sometimes they may need to resize the image to fit constraints. You can use http://us.php.net/manual/en/book.image.php or http://us.php.net/manual/en/book.imagick Link to comment https://forums.phpfreaks.com/topic/245255-upload-specific-users-photos/#findComment-1259664 Share on other sites More sharing options...
JasonLewis Posted August 21, 2011 Share Posted August 21, 2011 To save effort, you can also look at using www.gravatar.com since these days many people will have their e-mail address associated with a Gravatar account. Of course many places will offer this in addition to custom uploading of an avatar. But a lot of the time people just can't be bothered so they use Gravatar. Link to comment https://forums.phpfreaks.com/topic/245255-upload-specific-users-photos/#findComment-1260081 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.