HighDots Forums  

Making a feature like 'tag a photo' on facebook

Website Design comp.infosystems.www.authoring.site-design


Discuss Making a feature like 'tag a photo' on facebook in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bradley Burton
 
Posts: n/a

Default Making a feature like 'tag a photo' on facebook - 03-21-2007 , 07:58 PM






My friend has made a webpage that's kind of like facebook. He wants
to make a feature similiar to the 'tag a photo' feature that's in
facebook. This feature allows a person to upload a pic which will
show up in the 'pics' section of his site. Then the person can click
on the pic and select a friend (who's in the same network) from a
dropdown and 'tag' it to that person. Then that picture will also
appear on his friend's site.

I'm just wondering how this feature can be coded. Can it be done
using php? or something else?


Thanks,
Brad


Reply With Quote
  #2  
Old   
Brendan Gillatt
 
Posts: n/a

Default Re: Making a feature like 'tag a photo' on facebook - 03-31-2007 , 10:06 AM






On 21 Mar 2007 17:58:06 -0700, "Bradley Burton"
<greatgrains (AT) Hotmail (DOT) com> wrote:


Quote:
I'm just wondering how this feature can be coded. Can it be done
using php? or something else?
Yes and Yes.

This is probably the wrong group to ask in; try alt.php.

This would take a significant ammount of code - far more than anyone
will probably be willing to do for free for you. If you know PHP,
great! - if not start learning.

Sorry if this sounds a bit negative but it sounds as though you
haven't really taken a good look at what you want to do and instead
went straight to GG and asked.


Reply With Quote
  #3  
Old   
Saul
 
Posts: n/a

Default Re: Making a feature like 'tag a photo' on facebook - 04-10-2007 , 02:46 AM



On 31 Mar, 17:06, Brendan Gillatt
<bren... (AT) brendanREMOVETHISgillatt (DOT) co.uk> wrote:
Quote:
On 21 Mar 2007 17:58:06 -0700, "Bradley Burton"

greatgra... (AT) Hotmail (DOT) com> wrote:
I'm just wondering how this feature can be coded. Can it be done
using php? or something else?

This would take a significant ammount of code - far more than anyone
will probably be willing to do for free for you. If you know PHP,
great! - if not start learning.
It's not that much code to do the basics of a tagging/linking system -
4 database tables, one for people, one for photos, one linking people
to photos and one linking people to people (friends table). Listing
photos with a list of friends and enabling selection of items on an
HTML page is routine stuff from any basic PHP tutorial. As is the code
to take the selected pair (person and photo) and create a new entry in
the linking people to photos table. You should be able to hack a quick
illustration demo relatively quickly.

But the point at which it starts to spiral out of control are the next
bits of the site where you need to allow users to have log-in and
passwords, to allow friends to be added and for friends to allow
themselves to be added to a link, to remove links between friends,
change passwords, edit personal details, delete photos, unlink photos
from friends. And then you start to want to build messaging from
friends to friends, adding comments etc. That's really when it starts
to become a big task. It's not that you can't, it just starts to
require a proper design and to be thought through in terms of database
design, application development and such like - which is typically a
higher level of coding than just creating some simple PHP scripting.


Saul
_____________________
Notanant - Be Someone

Communities of websites
www.notanant.com
_____________________



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.