{"action":"opened","issue":{"url":"https://api.github.com/repos/Riron/ionic-img-viewer/issues/117","repository_url":"https://api.github.com/repos/Riron/ionic-img-viewer","labels_url":"https://api.github.com/repos/Riron/ionic-img-viewer/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/Riron/ionic-img-viewer/issues/117/comments","events_url":"https://api.github.com/repos/Riron/ionic-img-viewer/issues/117/events","html_url":"https://github.com/Riron/ionic-img-viewer/issues/117","id":313869372,"number":117,"title":"adding imageViewer to the img tag does not work","user":{"login":"Shivani-Parihar","id":22653372,"avatar_url":"https://avatars0.githubusercontent.com/u/22653372?v=4","gravatar_id":"","url":"https://api.github.com/users/Shivani-Parihar","html_url":"https://github.com/Shivani-Parihar","followers_url":"https://api.github.com/users/Shivani-Parihar/followers","following_url":"https://api.github.com/users/Shivani-Parihar/following{/other_user}","gists_url":"https://api.github.com/users/Shivani-Parihar/gists{/gist_id}","starred_url":"https://api.github.com/users/Shivani-Parihar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shivani-Parihar/subscriptions","organizations_url":"https://api.github.com/users/Shivani-Parihar/orgs","repos_url":"https://api.github.com/users/Shivani-Parihar/repos","events_url":"https://api.github.com/users/Shivani-Parihar/events{/privacy}","received_events_url":"https://api.github.com/users/Shivani-Parihar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T20:07:17Z","updated_at":"2018-04-12T20:07:17Z","closed_at":null,"author_association":"NONE","body":"### Please provide you version information :\r\nDependency      |Version\r\n----------------|-------\r\nionic2          | 3.18.0\r\nangular         |5.2.9\r\nionic-img-viewer|2.9.0\r\n\r\nI was able to get it working with creating my own instance of imageViewer\r\n```\r\n<img src=\"assets/imgs/bilirubin.png\" #myImage (click)=\"zoomImage(myImage)\" />\r\n```\r\n```\r\nzoomImage(myImage) {\r\n    const imageViewer = this._imageViewerCtrl.create(myImage);\r\n    imageViewer.present();\r\n    console.log(myImage);\r\n\r\n    setTimeout(() => imageViewer.dismiss(), 5000);\r\n  }\r\n```\r\nBut as my app works, I have to get it working with just adding the imageViewer to img tag which does not work.\r\nCan you help out with that\r\n\r\n"}}
{"actor":{"display_login":"Shivani-Parihar"}}