{"action":"created","issue":{"url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/7","labels_url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/7/comments","events_url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/7/events","html_url":"https://github.com/fanningert/kirbycms-extension-image/issues/7","id":72079056,"number":7,"title":"Can't get this working","user":{"login":"xypaul","id":2549828,"avatar_url":"https://avatars.githubusercontent.com/u/2549828?v=3","gravatar_id":"","url":"https://api.github.com/users/xypaul","html_url":"https://github.com/xypaul","followers_url":"https://api.github.com/users/xypaul/followers","following_url":"https://api.github.com/users/xypaul/following{/other_user}","gists_url":"https://api.github.com/users/xypaul/gists{/gist_id}","starred_url":"https://api.github.com/users/xypaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xypaul/subscriptions","organizations_url":"https://api.github.com/users/xypaul/orgs","repos_url":"https://api.github.com/users/xypaul/repos","events_url":"https://api.github.com/users/xypaul/events{/privacy}","received_events_url":"https://api.github.com/users/xypaul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-30T06:44:50Z","updated_at":"2015-05-04T16:53:15Z","closed_at":null,"body":"How do I install this plugin? Can't get it working :/"},"comment":{"url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/comments/98777362","html_url":"https://github.com/fanningert/kirbycms-extension-image/issues/7#issuecomment-98777362","issue_url":"https://api.github.com/repos/fanningert/kirbycms-extension-image/issues/7","id":98777362,"user":{"login":"fanningert","id":365219,"avatar_url":"https://avatars.githubusercontent.com/u/365219?v=3","gravatar_id":"","url":"https://api.github.com/users/fanningert","html_url":"https://github.com/fanningert","followers_url":"https://api.github.com/users/fanningert/followers","following_url":"https://api.github.com/users/fanningert/following{/other_user}","gists_url":"https://api.github.com/users/fanningert/gists{/gist_id}","starred_url":"https://api.github.com/users/fanningert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanningert/subscriptions","organizations_url":"https://api.github.com/users/fanningert/orgs","repos_url":"https://api.github.com/users/fanningert/repos","events_url":"https://api.github.com/users/fanningert/events{/privacy}","received_events_url":"https://api.github.com/users/fanningert/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T16:53:15Z","updated_at":"2015-05-04T16:53:15Z","body":"@bovisp sorry for the try and error session. Currently my focus is on the next version, with will be tested with PHP 5.4.\r\nNow to your problem. Replace the foreach at the error position with following code.\r\n\r\nFrom\r\n```php\r\n    foreach(kirbytext::$tags['image_gallery']['attr'] as $name) {\r\n      if( !empty($value = $tag->attr($name)) )\r\n        $image_options[$name] = $value;\r\n    }\r\n```\r\nto\r\n```php\r\n    foreach(kirbytext::$tags['image_gallery']['attr'] as $name) {\r\n      $value = $tag->attr($name);\r\n      if( !empty($value) )\r\n        $image_options[$name] = $value;\r\n    }\r\n```"}}