waynegm/imgNotes — reverse-engineered prompt
Reverse engineered prompt
Build me a small jQuery image annotation plugin like this repo describes. I want to show a large image on a web page, let people zoom and pan around it, and let them add markers with notes attached to specific spots on the image.
It should work nicely on desktop and touch devices. The image viewer needs to stay responsive when the page size changes. Please include a basic viewer mode where existing notes are shown, and an editor mode where someone can add, edit, and remove notes. A note can open in a simple popup or dialog when the marker is clicked.
Make it easy to customize callbacks, marker display, and note content, so another developer can extend it later. Include a few simple demo pages, like a basic viewer, a viewer with custom callbacks, a dialog viewer, and a basic editor. Use the existing jQuery widget style if that makes sense, and look up current docs online if you need to.
Want more depth? Deep Reverse