public function editAction()
{
$this->_helper->layout->setLayout('iframe');
$rendition = $this->_helper->service('image.rendition')->getRendition($this->_getParam('rendition'));
$renditions = $this->_helper->service('image.rendition')->getArticleRenditions($this->_getParam('article_number'));
$image = $renditions[$rendition]->getImage();
if ($this->getRequest()->isPost()) {
$this->_helper->service('image.rendition')->setArticleRendition($this->_getParam('article_number'), $rendition, $image, $this->getRequest()->getPost('coords'));
$this->_helper->redirector('edit', 'image', 'admin', array('article_number' => $this->_getParam('article_number'), 'rendition' => $this->_getParam('rendition')));
}
$this->view->rendition = $renditions[$rendition]->getRendition();
$this->view->image = $renditions[$rendition]->getImage();
$this->view->renditions = $this->renditions;
$this->view->articleRenditions = $this->_helper->service('image.rendition')->getArticleRenditions($this->_getParam('article_number'));
}