So for the most part Image Annotator works, but the points simply don't load. Refreshing fixes it, but the issue recurs after approximately visiting a page 4-5 times. Inspecting the HTML, the div container just loads as:
Whereas normally it would load with the nested "image-annotator-pointer" spans.
Anyone else experiencing this or have a suggestion? I thought maybe page caching could help but it did not.
EDIT: After some further testing... I've created consistent behavior. The points don't load if I got to the address bar and click "enter", as if I'm just going to that page. If I am on the page and refresh, they always load. It doesn't matter if I am logged in or not.
Comments
Comment #1
justinbevans commentedAfter some sleuthing, the issue was really related to images getting cached by the browser. Since the cached image is getting loaded, it never triggers the load function of the script, causing it to never finish firing all appropriate functions.
The quick fix I applied was doing a TPL override for my particular image field, and added a unix timestamp variable to the end of the image path, but the module should take into account image caching.
Comment #2
attiks commentedAny change you can provide a patch to fix this?
Comment #2.0
attiks commentedN/A
Comment #3
attiks commented