Affix image pin-button to upper right corner of image, apply appropriate transforms to keep it there upon drag/resize/pin events, and fix CSS so that it properly displays on hover.