# Dragging image within constrained area

**URL:** https://forum.kirupa.com/t/dragging-image-within-constrained-area/227965
**Category:** Uncategorized
**Created:** [June 4, 2007, 9:19am UTC](https://forum.kirupa.com/t/dragging-image-within-constrained-area/227965 "2007-06-04T09:19:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![grfcdesynr](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@grfcdesynr](https://forum.kirupa.com/u/grfcdesynr)
#### Post date: [June 4, 2007, 9:19am UTC](https://forum.kirupa.com/t/dragging-image-within-constrained-area/227965/1 "2007-06-04T09:19:40Z")

</div>

Here is an example of what I want to do:

[http://wendtgallery.com/wendtgallery/artists/danmccaw/](http://wendtgallery.com/wendtgallery/artists/danmccaw/)

I’m talking about when you’re looking at the zoomed in image… you can drag it around within the box, you can’t drag it past the box. Does anyone have any suggestions on where I can find out how to do this? The dragging part I can do… but when it comes to constraining the drag to within a certain area… ???
