This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Website Design Forum > April 2007 > Making a feature like 'tag a photo' on facebook





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Making a feature like 'tag a photo' on facebook
Bradley Burton

2007-03-21, 11:40 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

Brendan Gillatt

2007-03-31, 7:22 pm

On 21 Mar 2007 17:58:06 -0700, "Bradley Burton"
<greatgrains@Hotmail.com> wrote:


>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.
Saul

2007-04-10, 6:17 am

On 31 Mar, 17:06, Brendan Gillatt
<bren...@brendanREMOVETHISgillatt.co.uk> wrote:
> On 21 Mar 2007 17:58:06 -0700, "Bradley Burton"
>
> <greatgra...@Hotmail.com> wrote:
>
> 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
_____________________

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews