Pretty much as the subject says. I've got a image tag, it's inside a DIV which is set to a specific size.
I want to then fit my image object as best I can.
I've used object-fit: cover and object position but I'm wondering if there's a script HTML/CSS and or JavaScript which would enable me to drag the image round in my IMG tag and place it on specific co-ordinates?
Using JS I could then update a local DB with these details.
Also can you zoom in and out? using CSS scale perhaps?
I want to then fit my image object as best I can.
I've used object-fit: cover and object position but I'm wondering if there's a script HTML/CSS and or JavaScript which would enable me to drag the image round in my IMG tag and place it on specific co-ordinates?
Using JS I could then update a local DB with these details.
Also can you zoom in and out? using CSS scale perhaps?