Reputation: 535
I want to add the ability for a user to tag photos at specific locations of choice when uploading them. Please which npm
package(s) can I use to do that. I am currently working on a Meteor/react
app, and using CollectionFS
for saving images
Upvotes: 0
Views: 194
Reputation: 577
The best option is to use svg images. These images can be opened in a text editor and you can assign id's to different sections. I had a task once to make different parts(muscles) of a a body clickable. I used Boxy SVG to map different muscles and assigned id's to those muscles. Then just used javascript to add click events to individual muscles.
Upvotes: 0