[imageareas] 0.2.0 Alpha Release!

baseball2487

Joined: 2007-02-08
Posts: 13
Posted: Mon, 2008-09-15 02:46

@Daniel_Dietz - you were right, I needed to add the "Image Areas Support" to the photo pages

@phinze - Great work so far. A few comments from my testing:
- Is it possible to have a new image area default to a new tag instead of a new comment?
- Can you make the show\hide image areas link persistent? I know there's a module option to show the tags by default which I want to do, however I think some users might not like them. I'm guessing that some of them like me would assume that when they hide the image areas it will hide them from all the pictures that session and not just that image.
- Is it possible to let the user draw the area instead of having to start with a box and move\resize it?

Thanks again for working on this and hopefully I'll have some more time later to test it and give feedback.

 
chasix

Joined: 2005-10-06
Posts: 41
Posted: Thu, 2008-09-18 07:27

I was wondering if the 'imageareas' can work like Flickr imageareas...

With flickr when the mouse hovers over any part of the image the imageareas are displayed. When the mouse moves off the image the imageareas automatically disappear.

I can currently only get the imageareas to turn on and off from the sidebar.

I like the module. Thanks for creating it.

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Fri, 2008-09-19 00:36

What's the latest on this ? When will it be finalized and released?

 
chasix

Joined: 2005-10-06
Posts: 41
Posted: Tue, 2008-09-23 08:24

i have Flash movies uploaded to my gallery2 install. when i load the specific gallery page of the swf file (with the imageareas module active) i get an error pop up on the screen.


[X]
ImageAreas Module
Could not find the image on this page and will not load.

overall the module has really taken shape and works well.

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Wed, 2008-10-01 04:07

Whew! New job to start in two weeks, new city to move to next week, life is moving fast for me lately! Sorry to all of you waiting for updates, but I'm still alive and kicking and still working on ImageAreas! :)

Thanks to friendly poking from Daniel_Dietz and others I've finally found some time to make some fixes and release ImageAreas 0.2.5 [alpha]! Here are some improvements:

  • JavaScript now loads conditionally, which should prevent the error you reported on the Flash movies, chasix
  • Finally once and for all the decimal comma issue should be sorted out (!), which should mean 0.2.5 runs smoothly on your German language site, Daniel_Dietz
  • As per cchiappa's suggestion, 'Show/Hide ImageAreas' link now reflects correct state from first load
  • Changed sidebar link JS to properly alert user when 'Image Areas Support' block is not added to the theme, which should hopefully prevent confusing installs

Releases can be found here: http://projects.phinze.com/imageareas/releases/

 
Daniel_Dietz

Joined: 2008-08-25
Posts: 12
Posted: Mon, 2008-10-06 01:31

Thank you for your great work phinze and sorry for the poking :-(

But if I try to install 2.5 as an Update or as a new installation I allways get

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Missing where clause

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1097 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 517 (GalleryStorageExtras::removeMapEntry)
    * in modules/core/classes/GalleryCoreApi.class at line 2823 (GalleryStorage::removeMapEntry)
    * in modules/imageareas/module.inc at line 283 (GalleryCoreApi::removeMapEntry)
    * in modules/core/classes/GalleryModule.class at line 160 (ImageAreasModule::upgrade)
    * in modules/core/PluginCallback.inc at line 236 (GalleryModule::installOrUpgrade)
    * in modules/core/PluginCallback.inc at line 73 (PluginCallbackView::handleCallback)
    * in main.php at line 433 (PluginCallbackView::renderImmediate)
    * in main.php at line 94
    * in main.php at line 83

System Information
Gallery version 	2.2.5
PHP version 	5.2.6-0.dotdeb.1 cgi-fcgi
Webserver 	Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.6-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8e
Database 	mysqli 5.0.67-0.dotdeb.1-log
Toolkits 	ImageMagick, Thumbnail, Gd
Operating system 	Linux h1236941 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 
 
baseball2487

Joined: 2007-02-08
Posts: 13
Posted: Sun, 2008-10-12 07:31

@Daniel_Dietz: I had the same problem on my test server with 2.3rc2. I tried an upgrade and it didn't work and then a complete uninstall and reinstall and it still didn't work. I was able to get it to install by modifying the file module.inc from version 0.2.5 at the case statement below (at almost bottom of file) - I commented out the upgrade line for 0.2.5 in module.inc as shown below.

Quote:
case '0.2.5 [alpha]':
/* Remove all corrupted ImageAreas created from decimal comma error */
/*
$ret = GalleryCoreApi::removeMapEntry('ImageAreaMap',
array('areaBounds', 'NaN|NaN|NaN|NaN'));
if ($ret) {
return $ret;
}
*/
case 'end of upgrade path':

It's not the ideal way, but it's a quick hack that allows you to test it out.

@phinze - They bumped the comments module version so the plugin no longer sees it in 2.3rc2. Other than that it looks good from my quick testing (I don't really have any more comments other than those in my previous post).

 
Daniel_Dietz

Joined: 2008-08-25
Posts: 12
Posted: Sun, 2008-10-12 18:49

@baseball2487

Thanks this solves the Problem :-)

@phinze
*poking=on*

How do I get rid of the old ImageAreas I can not see - I just created some new ones and so the old ones aren't recognized.

*wishmode=on*

Is it possible to get an Ajax dropdown-list of available Tags while tagging an image and as well set Tag Person as default?

*wishmode=off*
*poking=off*

;-)

 
TheSteltek

Joined: 2008-10-13
Posts: 1
Posted: Mon, 2008-10-13 11:23

I have encountered a little problem with the way imageareas constructs the URLs on the tags.

Example:
http://tcnnet.com/gallery2/de_lux-LAN/de_lux-LAN_v3/Uninstall_dlux3/aav.jpg.html

If you roll over the image area tag, you get a URL like this:
http://tcnnet.com/gallery2/de_lux-LAN/de_lux-LAN_v3/Uninstall_dlux3/tag/Patrick+%27Landaro%27+Schweig

If you click the tag directly (at the bottom of the page), you get this URL:
http://tcnnet.com/gallery2/tag/Patrick+%27Landaro%27+Schweig

Only the latter works correctly, the former fails to display properly due to its usage of the relative path. This might be a misconfiguration in my redirects as well, however if the tags at the bottom use an absolute path, why does imageareas use a relative one? I've looked at the templates for imageareas and tags, and both seem to use the same g->url syntax to construct the links. I fail to see why they return different results. (I cleared DB and template cache, and I also have the problem when logged in, where page caching is turned off.)

Edit: Forgot to mention the versions: Imageareas 0.2.5, gallery 2.2.6

 
sorabji

Joined: 2005-12-08
Posts: 7
Posted: Tue, 2008-10-21 23:08

Hi guys. I tried to set this up tonight (ALPHA 0.2.5, Gallery 2.3), but on both Firefox and IE I got the same ERROR_COLLISION that others in these threads have reported. Only difference seems to be that I can't get past it. Here's what happens any time I click the "Install" link in the admin section:

Quote:
Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add

* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 762 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 929 (GalleryPermissionHelper_advanced::registerPermission)
* in modules/imageareas/module.inc at line 209 (GalleryCoreApi::registerPermission)
* in modules/core/classes/GalleryModule.class at line 175 (ImageAreasModule::upgrade)
* in modules/core/PluginCallback.inc at line 230 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
* in main.php at line 450 (PluginCallbackView::renderImmediate)
* in main.php at line 104
* in main.php at line 88

System Information
Gallery version 2.3
PHP version 5.1.6 apache2handler
Webserver Apache/2.2.4 (Fedora)
Database mysqlt 5.0.27
Toolkits Thumbnail, Gd
Operating system Linux 2.6.24.2 #1 SMP Tue Mar 18 13:59:54 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

 
rhatguy

Joined: 2008-10-25
Posts: 17
Posted: Sat, 2008-10-25 02:17

Is there a way to remove the box that comes up on pictures after they are tagged? Much like on facebook where you can mouseover the area and see the comment but there is no box around the actual area. I don't always want to see the comments and even more don't always want to see the boxes.

 
papero

Joined: 2008-11-13
Posts: 1
Posted: Mon, 2008-11-17 23:02

this is a fantastic module ... all work... but i have always an error message when i refresh page:

"[X]
ImageAreas Module
Error while loading the UI from the server:"

Is it possible to know what can i do?
help me!!!

Rob

 
Dogsbody

Joined: 2003-11-27
Posts: 13
Posted: Mon, 2008-11-17 23:55

Hi, long time stalker and first time poster.

I am really looking forward to this module as it would be perfect for our charity marathon site to allow visitors to tag their friends and then allow friends to find pictures of themselves.

I know I haven't been a good alpha/beta tester so decided to rectify that now by installing 0.2.5...

I downloaded it to my modules folder, extracted it and then went to the Siteadmin, plugins page and hit install but I'm afraid I got the following error...

Quote:
Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Missing where clause

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1097 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage.class at line 517 (GalleryStorageExtras::removeMapEntry)
* in modules/core/classes/GalleryCoreApi.class at line 2823 (GalleryStorage::removeMapEntry)
* in modules/imageareas/module.inc at line 283 (GalleryCoreApi::removeMapEntry)
* in modules/core/classes/GalleryModule.class at line 160 (ImageAreasModule::upgrade)
* in modules/core/PluginCallback.inc at line 236 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 73 (PluginCallbackView::handleCallback)
* in main.php at line 433 (PluginCallbackView::renderImmediate)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.6
PHP version 5.2.0 apache2handler
Webserver Apache
Database mysql 5.0.27-standard
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux yellow.dogsbodyhosting.net 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:12:03 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

 
rhatguy

Joined: 2008-10-25
Posts: 17
Posted: Wed, 2008-11-19 14:31

I believe you need to add imageareas to one of the "blocks" in your theme to fix the UI error.

 
Dogsbody

Joined: 2003-11-27
Posts: 13
Posted: Wed, 2008-11-19 14:57

Ahhh, the workaround above fixes my problem...

baseball2487 wrote:
@Daniel_Dietz: I had the same problem on my test server with 2.3rc2. I tried an upgrade and it didn't work and then a complete uninstall and reinstall and it still didn't work. I was able to get it to install by modifying the file module.inc from version 0.2.5 at the case statement below (at almost bottom of file) - I commented out the upgrade line for 0.2.5 in module.inc as shown below.

Quote:
case '0.2.5 [alpha]':
/* Remove all corrupted ImageAreas created from decimal comma error */
/*
$ret = GalleryCoreApi::removeMapEntry('ImageAreaMap',
array('areaBounds', 'NaN|NaN|NaN|NaN'));
if ($ret) {
return $ret;
}
*/
case 'end of upgrade path':

It's not the ideal way, but it's a quick hack that allows you to test it out.

Unfortunately I now get another error...

Quote:
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add

* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 751 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 846 (GalleryPermissionHelper_advanced::registerPermission)
* in modules/imageareas/module.inc at line 209 (GalleryCoreApi::registerPermission)
* in modules/core/classes/GalleryModule.class at line 160 (ImageAreasModule::upgrade)
* in modules/core/PluginCallback.inc at line 236 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 73 (PluginCallbackView::handleCallback)
* in main.php at line 433 (PluginCallbackView::renderImmediate)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.6
PHP version 5.2.0 apache2handler
Webserver Apache
Database mysql 5.0.27-standard
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux yellow.dogsbodyhosting.net 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:12:03 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Wed, 2008-11-19 15:09

Hello everybody. Here is your friendly neighborhood developer, back from the dead.

Yeah, so the latest version has a very bad piece of upgrade code that was supposed to gracefully handle an edge case but ended up breaking everything. I am ashamed.

I should get some time this weekend and next week to work on the module, so expect a release fixing the big bug this weekend and development towards a final release shortly thereafter.

Thanks to all of you for keeping in touch through this forum. It has made sure that I don't forget imageareas!

 
nicholas.alipaz

Joined: 2008-11-21
Posts: 3
Posted: Fri, 2008-11-21 08:46

I am having an issue with installing:

When I click on install, I am delivered to:

Quote:
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add

* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 762 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 929 (GalleryPermissionHelper_advanced::registerPermission)
* in modules/imageareas/module.inc at line 209 (GalleryCoreApi::registerPermission)
* in modules/core/classes/GalleryModule.class at line 175 (ImageAreasModule::upgrade)
* in modules/core/PluginCallback.inc at line 230 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
* in main.php at line 450 (PluginCallbackView::renderImmediate)
* in main.php at line 104
* in main.php at line 88

System Information
Gallery version 2.3
PHP version 5.2.6 cgi
Webserver Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database mysqli 5.0.51a-community
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux edain.lunarservers.com 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:30:51 EDT 2008 i686
Browser Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.04 (hardy) Firefox/3.0.4

After this, if I click install again:

Quote:
Database Error

An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.

Back to the Gallery
Error Detail -
Error (ERROR_STORAGE_FAILURE) : Error trying to run query: INSERT INTO g2_Schema ( g_name, g_major, g_minor ) VALUES('ImageAreaMap', 1, 0)

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1707 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1331 (GalleryStorageExtras::_executeSql)
* in modules/core/classes/GalleryStorage.class at line 768 (GalleryStorageExtras::configureStore)
* in modules/core/classes/GalleryModule.class at line 156 (GalleryStorage::configureStore)
* in modules/core/PluginCallback.inc at line 230 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
* in main.php at line 450 (PluginCallbackView::renderImmediate)
* in main.php at line 104
* in main.php at line 88

System Information
Gallery version 2.3
PHP version 5.2.6 cgi
Webserver Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database mysqli 5.0.51a-community
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux edain.lunarservers.com 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:30:51 EDT 2008 i686
Browser Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.04 (hardy) Firefox/3.0.4

I did notice someone else who had a similar issue, but no resolution. I hope that you can figure out what causes the issue. I saw a working version on somebody's site here. It looks like you are doing a really great job.

I am willing to upgrade my site further if need be. I had this same issue on 2.2.6, so I upgraded to 2.3. Again, same issue.

 
nicholas.alipaz

Joined: 2008-11-21
Posts: 3
Posted: Sat, 2008-11-22 17:56

I was able to fix my issue by completely uninstalling/reinstalling a few times, however I used 0.2.4

I however am having a different issue now.

g2.3
imageareas 0.2.4
comments 1.1.12 (had to downgrade this module)

my photo pages always come up with:
Error while loading the UI from the server:

clicking the imagearea functions, does nothing. I do however get an error in firebug:
return not in function
[Break on this error] ;}; return false;

that's all I got.

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Sat, 2008-12-06 15:15

Now that G3 is under development, how does that affect this script? And, is this script now dead? no recent updates...

 
davidarnoult

Joined: 2008-03-18
Posts: 39
Posted: Tue, 2008-12-09 20:54

Hi there,

When trying to install it, same problem than above.

Quote:
Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add

Hope there will be an update compatible with 2.3...

Thanks for this great idea and this big work.

 
kraves

Joined: 2008-06-02
Posts: 5
Posted: Mon, 2008-12-15 21:18

I had the same problem, solved by commenting out upgrade the code in 0.2.5 (thanks baseball2487!)

I'd like to add my vote for an extra option to hide/show the box, rather than just being able to turn ImageArea On/Off.
i.e. still leaving tags visible. This might prompt me to explore the code - but I'm definitely in the novice category!

Thanks to all you guys volunteering on the project. I too have been wondering about v3 and ImageAreas, any news?
Oh, and good luck in the new job Paul.

Kyle

 
kraves

Joined: 2008-06-02
Posts: 5
Posted: Tue, 2008-12-16 23:49

Just a quick one. Scalability doesn't seem an issue, I just added 180 tags to one image (a senior class photo). You'll also see why I'd like to hide the boxes but still have the tags active! Basically needed a solution to do resizable imageareas and lots of them, something facebook couldn't do. Once again, nice work.

Cheers, Kyle

 
davidarnoult

Joined: 2008-03-18
Posts: 39
Posted: Tue, 2008-12-16 23:59

Hi

Commenting code out as described didn't help for me, can't install it with same error message...
I did this in module.inc :

Quote:
case '0.2.5 [alpha]':
/* Remove all corrupted ImageAreas created from decimal comma error */
/*
$ret = GalleryCoreApi::removeMapEntry('ImageAreaMap',
array('areaBounds', 'NaN|NaN|NaN|NaN'));
if ($ret) {
return $ret;
}
*/
case 'end of upgrade path':

Result is Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add...

Any hint???

My config:

Gallery version = 2.3 noyau 1.3.0
API = Noyau 7.54, Module 3.9, Thème 2.6, Intégré 1.5
PHP version = 5.2.0-8+etch13 apache2handler
Serveur Web = Apache/2.2.3 (Debian) DAV/2 PHP/5.2.0-8+etch13
Base de données = mysql 5.0.32-Debian_7etch8-log, lock.system=flock
Boîtes à outils = NetPBM, Exif, ImageMagick, Ffmpeg, Gd, jpegtran, Thumbnail, SquareThumb
Accélération = none/21600, none/21600
Système d'exploitation = Linux petitbeurre 2.6.18-6-686 #1 SMP Mon Oct 13 16:13:09 UTC 2008 i686
Thème par défaut = matrix
gettext = activé
Langage = fr_FR
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Lignes dans la table GalleryAccessMap = 136
Lignes dans la table GalleryAccessSubscriberMap = 13290
Lignes dans la table GalleryUser = 36
Lignes dans la table GalleryItem = 13286
Lignes dans la table GalleryAlbumItem = 184
Lignes dans la table GalleryCacheMap = 0

Thank you all!

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Tue, 2008-12-23 03:03

imageareas 0.2.6 [alpha]

- removes bad code that was supposed to make upgrades smoother, and instead broke everything

Probably doesn't warrant a version number bump, but at least this will prevent new users from downloading broken code.

Releases can be found here: http://projects.phinze.com/imageareas/releases/

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Tue, 2008-12-23 03:53

I've created a project on lighthouseapp to organize issues relating to this plugin.

Hopefully this will help me to get a defined TODO list and then make some progress on the module.

Everyone here: feel free to create new tickets for bugs and feature requests on the project page.

http://phinze.lighthouseapp.com/projects/22354-imageareas

 
davidarnoult

Joined: 2008-03-18
Posts: 39
Posted: Tue, 2008-12-23 12:53

Hi,

Many thanks for your update. It installed correctly now (yes!), but does not detect my installed comment module :

Quote:
Nom du composant Installé Version Description Opérations

aide
Commentaires 1.1.14 1.1.14 Système de commentaire des utilisateurs installer mettre à jour configurer | activer | désactiver | désinstaller | supprimer

aide
Image Areas 0.2.6 [alpha] 0.2.6 [alpha] Associate comments and tags with specific areas of images installer mettre à jour configurer | activer | désactiver | désinstaller | supprimer

aide
Image Tags 1.1.1 1.1.1 My Image Tags module installer mettre à jour configurer | activer | désactiver | désinstaller | supprimer

aide
Statistics 0.5.0 0.5.0 Provides statistics about this Gallery installation installer mettre à jour configurer | activer | désactiver | désinstaller | supprimer

aide
Tags 1.3.6 1.3.6 Tag management system installer mettre à jour configurer | activer | désactiver | désinstaller | supprimer

I tried to deactivate + activate comment module but it is not detected.
It seems that there is an update for this comment module 1.1.14 (1.1.3.2), how can i update it?
And is this release 1.1.14 is compatible with imageareas 0.2.6?

Installed Interfaces
DataType Description Supported Module Supported Version Module Installed? Module Active?
Comment Add a comment comment 1.1.12 No No
Comment Add a comment comment 1.1.3.2 No No
Tag Tag a Person/Item tags 1.3.6 Yes Yes

Gallery version = 2.3 noyau 1.3.0
API = Noyau 7.54, Module 3.9, Thème 2.6, Intégré 1.5
PHP version = 5.2.0-8+etch13 apache2handler
Serveur Web = Apache/2.2.3 (Debian) DAV/2 PHP/5.2.0-8+etch13
Base de données = mysql 5.0.32-Debian_7etch8-log, lock.system=flock
Boîtes à outils = NetPBM, Exif, ImageMagick, Ffmpeg, Gd, jpegtran, Thumbnail, SquareThumb
Accélération = none/21600, none/21600
Système d'exploitation = Linux petitbeurre 2.6.18-6-686 #1 SMP Mon Oct 13 16:13:09 UTC 2008 i686
Thème par défaut = matrix
gettext = activé
Langage = fr_FR
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Lignes dans la table GalleryAccessMap = 241
Lignes dans la table GalleryAccessSubscriberMap = 12795
Lignes dans la table GalleryUser = 40
Lignes dans la table GalleryItem = 12791
Lignes dans la table GalleryAlbumItem = 194
Lignes dans la table GalleryCacheMap = 0

Thank you!!!!

David

 
nicholas.alipaz

Joined: 2008-11-21
Posts: 3
Posted: Thu, 2008-12-25 03:56

The new version installs fine, but I am still getting an error on clicking "Add Imagearea"

return not in function
[Break on this error] ame+':'+e.message+']'); }}; return false;

Also does it REQUIRE both the comment module and the tag module? I have the comment module and it detects it, but I don't have the tag module.

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Fri, 2009-01-02 22:16

still can't get this module to install properly, sorry phinze. previous versions don't seem to install properly either, i think it has something to do with leftovers from earlier module versions inhibiting the install. If you can give me some pointers on how to manually fix the database in phpmyadmin it'd be much appreciated. I did track a post down that seemed to related to this problem but i couldn't follow it through as it was vague. i'm getting this error message:

Back to the Gallery
Error Detail -
Error (ERROR_COLLISION) : Duplicate permission id: imageareas.add

* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 751 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 846 (GalleryPermissionHelper_advanced::registerPermission)
* in modules/imageareas/module.inc at line 209 (GalleryCoreApi::registerPermission)
* in modules/core/classes/GalleryModule.class at line 160 (ImageAreasModule::upgrade)
* in modules/core/PluginCallback.inc at line 236 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 73 (PluginCallbackView::handleCallback)
* in main.php at line 433 (PluginCallbackView::renderImmediate)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.6
PHP version 5.2.5 apache2handler
Webserver Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e PHP/5.2.5 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7
Database mysqli 5.0.51
Toolkits Thumbnail, NetPBM, Gd
Operating system Linux Knoppix 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686
Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

 
plakitin

Joined: 2009-01-24
Posts: 16
Posted: Sun, 2009-01-25 19:11

how to install ?

 
plakitin

Joined: 2009-01-24
Posts: 16
Posted: Sun, 2009-01-25 19:45

Installed Interfaces
DataType Description Supported Module Supported Version Module Installed? Module Active?
Comment Add a comment comment 1.1.12 No No
Comment Add a comment comment 1.1.3.2 No No
Tag Tag a Person/Item tags 1.3.6 Yes No

how to Active?
Error while loading the UI from the server: No active interfaces detected. ImageAreas requires interfaces with othermodules to store its data. Please see [ImageAreas Settings] for a list ofcurrently supported modules.

 
plakitin

Joined: 2009-01-24
Posts: 16
Posted: Mon, 2009-01-26 07:47

Comment 1.1.14

An error occurred while saving: Error (ERROR_BAD_PARAMETER)in modules/imageareas/classes/ImageArea.class at line 172 (gallerycoreapi::error) in modules/imageareas/classes/ImageArea.class at line 148 (imagearea::getboundsasarray) in modules/imageareas/classes/ImageAreasHelper.class at line 79 (imagearea::toarray) in modules/imageareas/ImageAreasCallback.inc at line 101 (imageareashelper::processinput) in main.php at line 450 (imageareascallbackview::renderimmediate) in main.php at line 104 in main.php at line 88

 
plakitin

Joined: 2009-01-24
Posts: 16
Posted: Mon, 2009-01-26 08:55

i install comment 1.1.12

An error occurred while saving: Error (ERROR_BAD_PARAMETER)in modules/imageareas/classes/ImageArea.class at line 172 (gallerycoreapi::error) in modules/imageareas/classes/ImageArea.class at line 148 (imagearea::getboundsasarray) in modules/imageareas/classes/ImageAreasHelper.class at line 79 (imagearea::toarray) in modules/imageareas/ImageAreasCallback.inc at line 101 (imageareashelper::processinput) in main.php at line 450 (imageareascallbackview::renderimmediate) in main.php at line 104 in main.php at line 88

what problem?

 
plakitin

Joined: 2009-01-24
Posts: 16
Posted: Mon, 2009-01-26 12:49

On a local server it works, on a virtual server does not work

 
geolaw

Joined: 2009-01-27
Posts: 1
Posted: Tue, 2009-01-27 02:40

Hello All,

I have installed this on my gallery - http://geolaw.com/law-family-pictures.html

This is gallery installed within Joomla using the g2bridge. I have had to tweak the js/imageareas.js file to make the ajax calls work properly, but all in all it works great.

One problem I have found is that the tags themselves do not appear on the mouseover in Firefox or Safari - however they appear fine in IE ... I initially thought that there was a CSS conflict between Joomla and Gallery2/imageareas, but I am not sure.

any ideas?

example : http://geolaw.com/law-family-pictures/?g2_itemId=564

shows the border around the imagearea, but no pop up

 
davidarnoult

Joined: 2008-03-18
Posts: 39
Posted: Tue, 2009-01-27 10:03

Hi,

Quote:
I have had to tweak the js/imageareas.js file to make the ajax calls work properly, but all in all it works great.

Could you send your tweaked file imageareas.js, I am running g2 in embedded joomla too and i have same problem.

I will have a look on your pop up problem after that.

Thanks

David

 
ddman

Joined: 2004-10-24
Posts: 19
Posted: Sun, 2009-06-07 17:57

Is development for this module still in progress? I am having issues getting imageareas working with the new version of Tags. Thanks!

 
Bzzt

Joined: 2009-08-19
Posts: 1
Posted: Wed, 2009-08-19 22:11

ditto. i have tags 1.4 and comments 1.1.14 installed and active, but get the following error when trying to use imageareas:

"Error while loading the UI from the server: No active interfaces detected. ImageAreas requires interfaces with othermodules to store its data. Please see [ImageAreas Settings] for a list ofcurrently supported modules."

imagearea diagnostics states it's looking for tags version 1.3.6 and comments 1.1.12 (& 1.1.3.2).
should i be using an older version of these modules?

thanks for the help and for bringing this module to life!

b.

 
phinze

Joined: 2008-03-30
Posts: 40
Posted: Sun, 2009-08-23 02:50

Hi folks, development isn't totally dead on this plugin. I just suck at keeping up with it. :-\

In the original design I was very conservative about the interfaces to other plugins, having them just give up if the installed plugin's version number was any different from the one listed in the interface. This gave the benefit of knowing the plugins would not change their code and cause mine to break, but at the cost of compatibility when other plugins are upgraded.

I'd like to refactor this to be more flexible, but for now I can just add interfaces for the plugin versions that were recently mentioned above.
Here's at least a small update to make things work with the latest versions of Comments/Tags.

ImageAreas 0.2.7 [alpha]

  • Adds interfaces for latest versions of Comment and Tags plugin
  • New interfaces are just copies of old ones, so if plugins changed significantly there may be bugs.

Releases can be found here: http://projects.phinze.com/imageareas/releases/

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-08-23 05:10

phinze,
That for your continued contribution, life does get in the way sometimes.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
brewster1134

Joined: 2009-02-11
Posts: 29
Posted: Wed, 2009-11-11 05:33

great module!

1 thing i noticed, if you use this with url rewrite, you have to make active 'tag virtual album' in the URL rewrite settings. otherwise the tag links it generates are wrong.

also...it would be awesome instead of having a 'show/hide image areas' option in the menu, if they just showed up when you hovered over the image.

oh, and the links to add/edit/delete an image area dont work if you have your item actions set as a dropdown. it has to be in the list form.

my 2 cents :)

 
brewster1134

Joined: 2009-02-11
Posts: 29
Posted: Wed, 2009-11-11 09:10

i also just noticed that even with granting Everybody 'imagearea - all access', guests get permsission denied when trying to add a tag. i think there are some permission issues.

 
basseman

Joined: 2008-11-02
Posts: 3
Posted: Sun, 2009-11-15 04:00

Hi,

I have been using this plug-in on my website (it's password protected) and I did some development on that plugin to accommodate my own need. I think this can be useful for the other. So I am going to list the enhancement I have done, and then you guys will tell me what's the best place to share those modification:
* Added a copy image areas to the side bar, the idea when I was tagging our wedding images and I had 2-3 picture with the same people, you don't want to retype and re-add all those image area manuall once again. So you add them on one picture and then you clck copy image areas, that will prompt you for the image id to be copied too (by default it contain the next image id) once this done, all the image area from the current image are copied to the next one.
* Added a display image area on image move, like facebook. So the image area are by default (in my setup) set to hidden and when the user hover the mouse over the picture those image area rectangle are displayed and once the mouse leave the image area they automatically hide. This is mainly java script modification.
* Modified the java script so when the user click on the image area rectangle in the image and if he have edit privilege it will let the user edit that image area. This is move convenient then using the side bar "edit image area" link. It avoid a lot of mouse movement for nothing.

My code works "fine" I know some time I have some bugs. The next thing I want to work on, when I add a new image area of type tag, I would like to have the "enter" key mapped to the ok button of the dialog.

I can always zip my image area folder and share it on my web site ? or you can tell me if there's any better place ?

Regards

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-11-15 04:32
Quote:
I can always zip my image area folder and share it on my web site ? or you can tell me if there's any better place ?

Just add it as an attachment to the forums here or as attachment to the codex http://codex.gallery2.org/Gallery2:Modules:imageareas

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
basseman

Joined: 2008-11-02
Posts: 3
Posted: Mon, 2009-11-16 01:29

that's the zip file of my imageareas folder.
Enjoy.

a question on the side, is that module going to be updated for G3 eventually ?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-11-16 04:02
Quote:
is that module going to be updated for G3 eventually ?

Not on the radar by the core team. Care to volunteer?
There is a Polar Rose module for G3: http://github.com/gallery/gallery3-contrib/tree/master/modules/polar_rose/ .

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
xale

Joined: 2010-04-19
Posts: 3
Posted: Mon, 2010-04-19 16:30

is there a way to know, why this plugin seems so hard to implement?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2010-04-19 16:31

It's not hard necessarily, just nobody has bothered to finish it.