{"issue":{"created_at":"2011-11-29T19:37:11Z","state":"open","updated_at":"2011-11-29T19:37:22Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":10,"body":"Wenn ein getImage Hook genutzt wird und z.B. Controller::resizeImage die Controller::getImage mit gesetztem target aufruft, dann erhält die Hook-Funktion keine Information über das Target.\nSomit funktioniert die Controller::resizeImage nicht mehr korrekt.\n\nBasierend auf 62874796cc6487c2c92f835c03ca0972 der controller.php kann die Zeile 796 durch folgendes ersetzt werden:\n\n```\n// Resize the original image\nif ($target)\n{\n  $this->import('Files');\n  $this->Files->rename($return, $target);\n\n  return $target;\n}\nreturn $return;\n```\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/2470.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by N.Parker on August 25th, 2010, at 03:30pm (ID 2470)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2391113,"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2470,"title":"getImage Hook kann optionalen target-Parameter nicht behandeln","closed_at":null,"html_url":"https://github.com/contao/import/issues/2470","url":"https://api.github.com/repos/contao/import/issues/2470","milestone":{"created_at":"2011-11-29T15:29:54Z","state":"open","closed_issues":25,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":32,"description":"Contao 2.10.0 (minor release)","title":"2.10.0","url":"https://api.github.com/repos/contao/import/milestones/32","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-29T19:37:22Z","updated_at":"2011-11-29T19:37:22Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"Behoben in ca683f201ec71084a894e38e2f6992a9.\n\n--- _Originally created on June 23rd, 2011, at 12:34pm_","id":2943784,"url":"https://api.github.com/repos/contao/import/issues/comments/2943784"}}