Quick and dirty draggable image.
See index.html
for an example.
<script src="draghack.js"></script>
<img class="draghack" src="image.png"></img>
<head>
<style>
.container {
border: solid 1px black;
overflow: hidden;
width: 300px;
height: 300px;
}
</style>
</head>
<div class="container">
<img class="draghack" src="image.png"></img>
</div>