Home | Blog

Web Demos
Photo Tagger API

Flickr, Facebook and now Orkut. One by One everyone has implemented the photo tagging feature into their social network. Initially introduced by Flickr, extended by Facebook and finally Orkut was forced to implement it too.

Last night I tried to look into it to found out what does it take to make one and I was able to comeup with something like this. Probably a little different from the one's implemented by others in the sense that you just have to do the first click and then the second click, and you are done. No mouse-press and drag thing needed.

Now without much of a talking, lets first see a demo of how it works and then probably I will write a few words on how to implement the same:

Note: How it works? Unlike Facebook and Orkut, I have implemented this in a little different manner. You just need to click once, and then no need to keep your mouse pressed. Freely move to the another place and click again and thats it, you have selected your photo tagging area and ready to tag it.

Tau
Bhuchi
Mantri
studs
33
444
444
444
cssdasdas
bla
fred
test
test
test
test
hello
yahoo
a
a
a
a
a
WGR Studio
asdasd
kk
kk
hi
hi
hi
hi
hi
hi
ga3bar
joda
market
sky
scascscsaascas
aaaaaaaaaaaaaaaaaaaaaaaaa
building
none
m,vm,
wang
wang
http://decomyplace.com/
ccc
guygugyu
guygugyu
guygugyu
guygugyu
guygugyu
Gagan
fasdasd
Dedeler
lol
rutjkiryuhefdhddtryhdrhsegdfgstyuhretyeryer
хуйпизда
testttttttt
testttttttt
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
sdf
111
111
23
111
111
yes
f
fdd
ok
ok
hre
ff
yyer
F
h
me
meto
ene
khalid
iuy
iuy
iuy
iuy
hellooo
hellooo
jh
jh
onkar
onkar
hey
krinjal
jenisha
hey
hey
hey
Priyanka
Priyanka
Priyanka
Priyanka
Priyanka
Priyanka
Priyanka
Priyanka
ji
ejunior
ejunior
ejunior
asd
asdas
asdas
asd
test
d
dd
2
bunion
test242
annie
annie
333
A
f
hkjh
Test
Test
Test
Test
toi
lui
a
ddddddddddddddddddddd
fsdfas
fsdfas
dfs
dfs
dfs
dfs
?
?
?
?
?
skc
romil shah
test
test
test
a
Bobby
lkijhug
dfgd
dsssssssssssssssssssss
fsdfsdfs
etwe
etwe
p
dfsdf
hello
hello
pollo joto
idiotas
test
test
test
lalala
lalala
des
123
123
156
Glaucio
afafka
waqar
Joe
David
Charles
floor
floor
brick
shayan
sdfsdf
sdfsdf
sdfsdf
sdfsdf
sdfsdf
sdfsdf
rd
rd
abc
dup
prada
cancer
John
Petit Bateau, “Ethnic” Print Dress, $73.00 " class="previoustags" style="top:481px;left:541px;height:86px;width:96px ">
Petit Bateau, “Ethnic” Print Dress, $73.00 _text" class="tagnames" style="top:572;left:541px;">Petit Bateau, “Ethnic” Print Dress, $73.00
you
dfg
ddd
ddd
asdfasdf
asdfasdf
arty
f
f
culo
culo
culokjhllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
smokers-corner
fabio
77
fffffffffffff
Fred
Fred
name
name
chmura
chmura
erty
erty
erty
dupa
test
test
ytyty
uyuyuyu
toto
sdaf
sdaf
dfsdf
dfsdf
X
X
Dude
Dude
Bart
junio
tag
aaa
http://abhinavsingh.com/webdemos/phototaggerapi/images/studs.jpg
bill
Dave
dodol
bagus
njkn
baaa
neillh
dfdf
etits
test
aaa
dfsd
cxcxxc
cxcxxc
er
http://ngentoto.com
tim
ghfg
perro
dedd
a
a
a
a
afds
afds
afds
n
n
test
test
5y7uj5
5y7uj5
ali
pedro
pedro
pedro
jose
jose
s
sample
sample
sample1
Ben
Ben
prem
prem
prem
prem
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
neru
dfd
dfd
Tag 1
Tag 2
kim
gumer
ffffff
fdfdf
fdfdf
fdfdffdfdf
huh
sasasa
sasasa
fgfgf
hihi
hihi
hihi
hihi
hihi
hihi
hihi
hi
roof
gsgaf
jghjghjh
hg
hg
dgdgdfg
335345
yesasda
gfhfghfgh
gfhfghfgh
aaa
Test 1
Kuser
asfd
asfd
ram
ram
zzzz
sdf
sdf
sdf
sdf
sdf
sdsfd
d
buster
hasan
hasan
hasan
srbh
test
saurbah barot
Smoker
Smoker1
zxccxz
zxccxz
zxccxz
asdf
asdf
H%M
H%M
H%M
H%M
8
df awrsd
df awrsd
wtf
haha
aaaaaaaaahhhhaaaaaaaaaaaaaaaaaaaaaaa
huhuahauahuaha
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
sssssssssss
dfsdf
dfsdf
aaaa
aaaa
bbb
bbb
overlap1
asa
aaaa
aaaa
aaaa
Test
Test
harshad
test
test
test
1252
test
test
1252
test
test
1252
test
pippo
pippo
nhh
nhh
Nitol
Nitol
Nitol
Nitol
sss
sss
sss
ssscsaascasc
xx
asdf
tag 1
james
barab
rr
smokers corner
vdgfd
asd
Ashok
Ashok
ahoy
edwdqwadfasf
sdfdsfdsfs
Luis
Luis
asdf
ciao
ciao
aaaa
15
16
prova
ssssss
ssssss
ssssss
uno
prova
prova
ashok bathu
ashok bathu
ashok bathu
asdf
asdf
dung
dung
dung
dung
dung
dung
dung
dung
tttttttt
asdf
asdf
hhh
hhh
hhh
vb
test
dfds
tets
dgn
Hello
Sell1
Sell2
Sell3
Sell4
Sell5
Hello
abc
abc
sxdsd
sxdsd
ssss
hello12
hello12
Amanda
Amanda
akon
akon
esee
esee
asd
test tag
ciao
fulano
palomos
asdfsadf
asdfsadf
test
xxxx
abc
abc
abc
abc
abc
abc
abc
abc
test
سیبشس
سیبشس
سیبشس
dsfsdf
dsfsdf
dante
dante
y
y
y
xyz
xyz11
xyz1111
tyu
tyu
asdf
erwrer
gfhgf
eswar
rterterterter
43543543543
YEAH MAROULIS
gfsgdfg
gfsgdfg
gfsgdfg
kool
kool
aaaa
Test
Test9977
Test9977
Test9977
Test9977
Test9977
abc
rajesh
rajesh
rajesh
rajesh
5464
dsfdsf
dsfdsf
gggg
gggg
yyyyy
yyyyy
hi
hi
hi
sai
sai
sai
manoj
76
test
test
ñll
hello
hello1
test
BOB
BOB
sfd
sfd
sfd
sample1
ghn
xsfsd
yahya
csdcxx
csdcxx
csdcxx
csdcxx
csdcxx
mierda
mierda
Puta
Puta
Puta
sdfsdfsdf
zdzsaa
zdzsaa
zdzsaa
zdzsaa
sky
hasan
amit
amit4
ffffff
seb
seb
name
mahesh
hiii
fdf
test
ff
adfsd
adfsd
adfsd
adfsd
adfsd
kjoi
lola
sasd
wwwwwwwwwwwwwwwwwwwwwwwwwwwwww
gh
gh
cvsdvdv
cvsdvdv
asim
hi
hi
fyfyf
fyfyf
sky
sky
abhi
nothing
smokers corner
test
harry
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
dsd
abc
abc
xx
xx
wew
a
afff
afff
afff
asd
asd
aaa
| Tau | Bhuchi | Mantri | studs | | | | | 33 | 444 | 444 | 444 | cssdasdas | bla | fred | test | test | test | test | | | | | | | hello | yahoo | a | a | a | a | a | WGR Studio | asdasd | kk | kk | hi | hi | hi | hi | hi | hi | ga3bar | joda | market | sky | scascscsaascas | aaaaaaaaaaaaaaaaaaaaaaaaa | building | none | m,vm, | wang | wang | http://decomyplace.com/ | | ccc | guygugyu | guygugyu | guygugyu | guygugyu | guygugyu | Gagan | fasdasd | | | Dedeler | lol | rutjkiryuhefdhddtryhdrhsegdfgstyuhretyeryer | хуйпизда | testttttttt | testttttttt | yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | sdf | 111 | 111 | 23 | 111 | 111 | yes | f | fdd | ok | ok | hre | ff | | | | yyer | F | h | me | meto | ene | | khalid | iuy | iuy | iuy | iuy | hellooo | hellooo | jh | jh | onkar | onkar | hey | krinjal | jenisha | hey | hey | hey | Priyanka | Priyanka | Priyanka | Priyanka | Priyanka | Priyanka | Priyanka | Priyanka | ji | ejunior | ejunior | ejunior | asd | asdas | asdas | asd | test | d | dd | 2 | | | | | | bunion | test242 | annie | annie | 333 | | A | f | hkjh | | Test | Test | Test | Test | toi | lui | a | ddddddddddddddddddddd | fsdfas | fsdfas | | | | dfs | dfs | dfs | dfs | ? | ? | ? | ? | ? | skc | | | romil shah | test | test | test | | | a | Bobby | lkijhug | dfgd | dsssssssssssssssssssss | | | fsdfsdfs | etwe | etwe | | | | p | dfsdf | hello | hello | pollo joto | idiotas | test | test | test | | lalala | lalala | des | 123 | 123 | 156 | Glaucio | afafka | waqar | Joe | David | Charles | floor | floor | brick | shayan | | sdfsdf | sdfsdf | sdfsdf | sdfsdf | sdfsdf | sdfsdf | rd | rd | abc | dup | prada | cancer | John | Petit Bateau, “Ethnic” Print Dress, $73.00 ').style.display='block';document.getElementById('Petit Bateau, “Ethnic” Print Dress, $73.00 _text').style.display='block';" onmouseout="document.getElementById('Petit Bateau, “Ethnic” Print Dress, $73.00 ').style.display='none';document.getElementById('Petit Bateau, “Ethnic” Print Dress, $73.00 _text').style.display='none';"> Petit Bateau, “Ethnic” Print Dress, $73.00 | | | you | dfg | ddd | ddd | asdfasdf | asdfasdf | arty | f | f | culo | culo | culokjhllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll | smokers-corner | fabio | 77 | fffffffffffff | Fred | Fred | name | name | chmura | chmura | erty | erty | erty | dupa | test | test | ytyty | uyuyuyu | toto | | | sdaf | sdaf | | dfsdf | dfsdf | X | X | Dude | Dude | Bart | | | | | | | junio | tag | aaa | | | http://abhinavsingh.com/webdemos/phototaggerapi/images/studs.jpg | | | bill | | | Dave | dodol | bagus | njkn | baaa | neillh | dfdf | etits | | | | test | aaa | | dfsd | cxcxxc | cxcxxc | | er | http://ngentoto.com | tim | | ghfg | perro | dedd | a | a | a | a | afds | afds | afds | n | n | test | test | 5y7uj5 | 5y7uj5 | ali | pedro | pedro | pedro | jose | jose | | s | sample | sample | sample1 | Ben | Ben | prem | prem | prem | prem | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | neru | | dfd | dfd | Tag 1 | Tag 2 | kim | gumer | ffffff | fdfdf | fdfdf | fdfdffdfdf | huh | sasasa | sasasa | fgfgf | hihi | hihi | hihi | hihi | hihi | hihi | hihi | hi | roof | gsgaf | jghjghjh | hg | hg | dgdgdfg | 335345 | yesasda | gfhfghfgh | gfhfghfgh | aaa | | Test 1 | Kuser | | | asfd | asfd | | | ram | ram | zzzz | sdf | sdf | sdf | sdf | sdf | sdsfd | d | buster | hasan | hasan | hasan | | srbh | test | saurbah barot | Smoker | Smoker1 | zxccxz | zxccxz | zxccxz | | asdf | asdf | H%M | H%M | H%M | H%M | 8 | df awrsd | df awrsd | wtf | | haha | aaaaaaaaahhhhaaaaaaaaaaaaaaaaaaaaaaa | huhuahauahuaha | | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | sssssssssss | dfsdf | dfsdf | aaaa | aaaa | bbb | bbb | overlap1 | asa | aaaa | aaaa | aaaa | Test | Test | harshad | test | test | test | 1252 | test | test | 1252 | test | test | 1252 | test | pippo | pippo | | nhh | nhh | | | Nitol | Nitol | Nitol | Nitol | sss | sss | sss | ssscsaascasc | xx | asdf | tag 1 | james | barab | rr | | smokers corner | vdgfd | asd | | Ashok | Ashok | | ahoy | edwdqwadfasf | sdfdsfdsfs | Luis | Luis | asdf | | | ciao | ciao | aaaa | 15 | 16 | prova | ssssss | ssssss | ssssss | uno | prova | prova | ashok bathu | ashok bathu | ashok bathu | asdf | asdf | dung | dung | dung | dung | dung | dung | dung | dung | | tttttttt | | | asdf | asdf | | hhh | hhh | hhh | vb | | test | dfds | tets | dgn | Hello | Sell1 | Sell2 | Sell3 | Sell4 | Sell5 | Hello | abc | abc | sxdsd | sxdsd | ssss | hello12 | hello12 | Amanda | Amanda | akon | akon | | esee | esee | asd | test tag | ciao | fulano | palomos | asdfsadf | asdfsadf | test | xxxx | abc | abc | abc | abc | abc | abc | abc | abc | test | سیبشس | سیبشس | سیبشس | dsfsdf | dsfsdf | dante | dante | y | y | y | xyz | xyz11 | xyz1111 | | | tyu | tyu | asdf | erwrer | gfhgf | eswar | rterterterter | 43543543543 | YEAH MAROULIS | gfsgdfg | gfsgdfg | gfsgdfg | kool | kool | aaaa | Test | Test9977 | Test9977 | Test9977 | Test9977 | Test9977 | abc | rajesh | rajesh | rajesh | rajesh | 5464 | dsfdsf | dsfdsf | gggg | gggg | yyyyy | yyyyy | hi | hi | hi | sai | sai | sai | manoj | 76 | | | test | test | ñll | hello | hello1 | test | BOB | BOB | sfd | sfd | sfd | sample1 | ghn | xsfsd | | | yahya | csdcxx | csdcxx | csdcxx | csdcxx | csdcxx | mierda | mierda | Puta | Puta | Puta | sdfsdfsdf | | zdzsaa | zdzsaa | zdzsaa | zdzsaa | sky | hasan | amit | amit4 | ffffff | | seb | seb | name | mahesh | hiii | fdf | | test | ff | | adfsd | adfsd | adfsd | adfsd | adfsd | kjoi | lola | sasd | wwwwwwwwwwwwwwwwwwwwwwwwwwwwww | gh | gh | cvsdvdv | cvsdvdv | asim | hi | hi | | | | fyfyf | fyfyf | sky | sky | abhi | nothing | smokers corner | test | harry | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | dsd | abc | abc | xx | xx | wew | a | afff | afff | afff | | asd | asd | aaa























Drawbacks: However the drawback of this phototagging API is that if someone has tagged the photo using a monitor which have a different screen resolution than yours, then probably you might not see the tag exactly at the right place. This bug exists in Facebook too, haven't checked with Orkut yet.

Where is the API? Well, you must be wondering why am I using the term API again and again, and even if I am where is the API. I will say, still working on it and will be released probably in a few weeks. The API will be an easy to plugin widget for your website. You will just need to provide the id value of your image, and the API will make your website ready for photo tagging. I have provided this demo, so that with your valuable feedbacks I can improve the upcoming API.

Meanwhile feel free to leave a comment or two at my blog here.

Also feel free to discuss any flaws which you may find in the implemented API above.


Creative Commons License
This work is licensed under a
Creative Commons Attribution-Share Alike 2.5 India License.