Gallery 2 Area Tagging (like facebook)
kiffw
Joined: 2008-04-21
Posts: 10 |
![]() |
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; |
|
Dukessa
Joined: 2008-05-07
Posts: 8 |
![]() |
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 |
![]() |
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. |
|
Zemouk
Joined: 2008-06-11
Posts: 1 |
![]() |
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 |
![]() |
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 |
![]() |
hello 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 |
![]() |
hi, |
|