Value display from Parse storage fails
The same code that used to retrieve and display values from Parse now fails to do so. I set debugging in the parse plugin to true so I can tell that the stored values are in fact retrieved in the context of the page but they fail to display, along with the rectangle selections. If I create a new annotation it is visible only until reload, even though it gets stored in Parse.
I was able to determine that this is due to having too many rows in the same parse app. I had over 100. When working with only 30 or so they displayed fine. Maybe this could be fixed by parsing only the rows which match the currently active URL or image URL. I am not sure if this needs to be fixed in annotorious or in the plugin so I am creating an issue on both github projects.
https://github.com/dommmel/annotorious-parse-plugin/issues/3
Hi,
I had some similar problems when loading images dynamically and I solved them through the prefix_img_url attribute: https://github.com/annotorious/annotorious-parse-plugin/blob/master/test/dynamic_loading.html
Maybe you can extend this feature to solve your problems.
Br,
Sergiu
From: cheekygit [mailto:[email protected]] Sent: Freitag, 29. August 2014 12:21 To: annotorious/annotorious Subject: Re: [annotorious] Value display from Parse storage fails (#112)
I was able to determine that this is due to having too many rows in the same parse app. I had over 100. When working with only 30 or so they displayed fine. Maybe this could be fixed by parsing only the rows which match the currently active URL or image URL. I am not sure if this needs to be fixed in annotorious or in the plugin so I am creating an issue on both github projects.
dommmel/annotorious-parse-plugin#3https://github.com/dommmel/annotorious-parse-plugin/issues/3
— Reply to this email directly or view it on GitHubhttps://github.com/annotorious/annotorious/issues/112#issuecomment-53859623.
Hm, sorry but I can't see how loading images dynamically could possibly make the parse plugin fetch only the rows that it needs for the current document.URL so as not to overload itself... I am really surprised this plugin hasn't been tested at some scale given how popular it is in search results and how long it has been released.
Well … dynamical image loading is something application specific. In our case, we had deployments on different machines that were using the same Parse storage. We just wanted to differentiate between different instances, and the URL of the server was the discriminator we used. I think that you can load the Annotations for one (current) image if you use the full URL of the image. Per default .. this “filter” is disabled, and the link provided below is actually the test page. https://github.com/annotorious/annotorious-parse-plugin/blob/master/test/dynamic_loading.html
You are right in the sense, that this page is testing the dynamic loading of images and not the loading of annotations for only one image.
Br,
Sergiu