Jump to content


Photo

user images.. need some guidance


  • Please log in to reply
2 replies to this topic

#1 techiefreak05

techiefreak05
  • Members
  • PipPipPip
  • Advanced Member
  • 494 posts
  • LocationER, MN

Posted 09 September 2006 - 02:19 AM

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 shortener with advanced, detailed statistics:

http://tyny.us/

#2 techiefreak05

techiefreak05
  • Members
  • PipPipPip
  • Advanced Member
  • 494 posts
  • LocationER, MN

Posted 09 September 2006 - 03:31 AM

??? any starting points?
Link shortener with advanced, detailed statistics:

http://tyny.us/

#3 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 09 September 2006 - 04:33 AM

You should look at this tutorial for writing a upload class.

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.


Posted Image

Good Luck,
Tom

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users