Allows images to be positioned using mouse drag just like Facebook cover pictures and thumbnails.Example? Position the image above using mouse (currently positioned at ).
Just include the js file and call
$('#elem').imagedrag(); in your js code.
Better compatibility is on the roadmap, but currently it should work in recent versions of Firefox, Chrome and IE.
Free and open-source (including commercial use). Published under MIT license.
input // Selector for output value.
attribute // Target attribute on selector.
default value: 'value'
position // Default position for image.
options: top, middle, bottom, or specific margin.
default value: 'middle'
cursor // Cursor type on image drag.
default value: 'move'
With by Puneet Kalra.