Gallery 2 Area Tagging (like facebook)

kiffw

Joined: 2008-04-21
Posts: 10
Posted: Fri, 2008-05-09 08:01

YES, I fixed it! It's a conflict with the core script "color picker".

Just edit "imagetags/javascript/tagging.js" and change the variable name from "init" to "init_tag" in these 3 lines

tagging.js wrote:
line 28: var init_tag = false;
line 38: init_tag = true;
line 127: if(!init_tag)

 
Dukessa

Joined: 2008-05-07
Posts: 8
Posted: Mon, 2008-05-19 13:02

Hi, Im'using the X_treme template for Gallery 2.2.4, and Im not sure at all where to comment out the lines in the photo.tpl file

Also, in that same file, where do I have to add id="IFid1" ?

(please see attached file for X_treme template, photo.tpl file)

Can anyone help me please?

 
netbear

Joined: 2007-09-12
Posts: 19
Posted: Sat, 2008-05-31 14:11

The image can't be clickable so you have to comment out the <a></a> tags around the image that is used or all to be on the safe side. And you need to make sure that the image tag {g->image... has the ID="IFid1". If you activate the imageframes plugin the image should have this id.

There may be multiple {g->image tags that displays the image depending on what modules you have loaded. Someone should consider to add a standard ID to them main image tag to avoid this and make it easier to write plugins like this one.

Hope that helps.
/Björn

 
Zemouk

Joined: 2008-06-11
Posts: 1
Posted: Wed, 2008-06-11 21:52

netbear, this is a great plugin and very needed. Is it possible for a user to just type in a name and then click tag, you could then just do a db check if the user is there then just add the tag or add the user to the db. Just suggesting this as people on my gallery are saying it is a bit hard, as they type in the first box and if the names not in the db it just refreshes the page, the first box to input to the db is the 2nd textbox. Would be handy if you could do this. Thanks :)

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Fri, 2008-06-13 16:22

Hello again all!

I am a student working for Gallery through Google Summer of Code 2008 and I am developing a module that properly implements and integrates this feature into Gallery2. It's called the ImageAreas module, and while I have yet to complete an end-to-end prototype, I encourage you to check out the Codex page I've set up and track my development. I appreciate any feedback or feature requests you'd like to make on the discussion page of the Codex.

http://codex.gallery2.org/Gallery2:Modules:imageareas

Looking forward to hearing from you!

Paul

P.S. I know there's been a lot of discussion about commenting out lines of the Matrix theme. The ImageAreas module has a JavaScript solution that avoids the need to modify the theme to make the feature work.

 
lucapiu

Joined: 2008-11-12
Posts: 1
Posted: Wed, 2008-11-12 15:03

hello
I'm trying to have the imageTag module working on my Gallery 2
the Virtual Album doesn't work for me
it seems that the $itemID in
list ($tagName, $tagYear, $itemId) =
GalleryUtilities::getRequestVariables('tagName', 'tagYear', 'itemId');

is not fetched so the script just return an empty page

I'm quite new to the gallery system so I may have missed something (like a module or plugin I should have activated)

I really appreciate any help on this

 
nocomp

Joined: 2006-02-17
Posts: 13
Posted: Sat, 2009-08-08 18:04

hi,
thx a lot for this charming plugin, wich runs nicely.
i have few questions:
i got it running with comment plugin,and i would prefer that it pick the tag plugin,but i can t find the "Tag version 1.3.6 "
can somebody put it in download somewhere?
Other question, in compare to facebook, you see the anotation once you roll over the mouse on the pic,you don t see any frame showing that there is a tag.
is it possible to reduce the thickness of the area?
thx a lot for helping
best regards