Have a jpg
image that needs to be:
- Opened and displayed
- Resizeable using its lower-right corner
- Draggable around the screen
When first opened, it needs to be resized to fit inside whichever parent element is holding it ... a <div> maybe?
There should be no scrollbars. Whatever size the parent is dragged to then that is the size of the jpg
(but it remains the same ratio).
I thought this would be simple, but nothing I tried so far has worked. Tried <img>. Tried background-image. I must be missing something.
Chrome is the web browser used internally.