Jump to content

user images.. need some guidance


techiefreak05

Recommended Posts

i havent actually started this yet but im looking into it, id like to have user images.. user can upload pictures and set them to show..like...(do i dare say) myspace.. how would i go about this.. well would it have something to do with.. the following ???

>>upload images. then store the image url in the db (how would i get the image url after upload. then store it in the db??)
>> in the image selection page.. echo all images from db. (i can easy figure this out)
>>have a  button for each image that can set it as the defualt image that shows wherever username shows (idk if i could do this...)
>> show the image where needed (easily done)

is that it?? how would i start?
Link to comment
Share on other sites

You should look at this tutorial for writing a [url=http://www.phpfreaks.com/tutorials/85/0.php]upload class[/url].

Also, that image is very large. You should optimize all images before adding them.

Here is a copy that I optimzed. It is less then less then half of the size. Also, 750  by 150 is way to large for a image in a forum.


[img]http://thomashostings.com/images/templates/zylogo2.jpg[/img]

Good Luck,
Tom
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.