{"action":"created","issue":{"url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/1","labels_url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/1/comments","events_url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/1/events","html_url":"https://github.com/SanaMobile/sana.openmrs/issues/1","id":98398384,"number":1,"title":"Full size images in encounter queue","user":{"login":"zhalloran","id":446225,"avatar_url":"https://avatars.githubusercontent.com/u/446225?v=3","gravatar_id":"","url":"https://api.github.com/users/zhalloran","html_url":"https://github.com/zhalloran","followers_url":"https://api.github.com/users/zhalloran/followers","following_url":"https://api.github.com/users/zhalloran/following{/other_user}","gists_url":"https://api.github.com/users/zhalloran/gists{/gist_id}","starred_url":"https://api.github.com/users/zhalloran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhalloran/subscriptions","organizations_url":"https://api.github.com/users/zhalloran/orgs","repos_url":"https://api.github.com/users/zhalloran/repos","events_url":"https://api.github.com/users/zhalloran/events{/privacy}","received_events_url":"https://api.github.com/users/zhalloran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SanaMobile/sana.openmrs/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-31T14:06:22Z","updated_at":"2015-08-02T23:39:52Z","closed_at":null,"body":"'ve just started working with sana.openmrs, and we're running into an issue where images are being displayed at full size in the encounter queue. I've been tracing the call on line 505 of /omod/src/main/webapp/queue/v1/queue.jsp [&lt;img src=\"${pageContext.request.contextPath }/moduleServlet/sana/complexObsServlet?obsId=${obs.obsId }&view=VIEW_THUMBNAIL\"/&gt;]. Any help would be greatly appreciated.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/comments/127084127","html_url":"https://github.com/SanaMobile/sana.openmrs/issues/1#issuecomment-127084127","issue_url":"https://api.github.com/repos/SanaMobile/sana.openmrs/issues/1","id":127084127,"user":{"login":"zhalloran","id":446225,"avatar_url":"https://avatars.githubusercontent.com/u/446225?v=3","gravatar_id":"","url":"https://api.github.com/users/zhalloran","html_url":"https://github.com/zhalloran","followers_url":"https://api.github.com/users/zhalloran/followers","following_url":"https://api.github.com/users/zhalloran/following{/other_user}","gists_url":"https://api.github.com/users/zhalloran/gists{/gist_id}","starred_url":"https://api.github.com/users/zhalloran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhalloran/subscriptions","organizations_url":"https://api.github.com/users/zhalloran/orgs","repos_url":"https://api.github.com/users/zhalloran/repos","events_url":"https://api.github.com/users/zhalloran/events{/privacy}","received_events_url":"https://api.github.com/users/zhalloran/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T23:39:52Z","updated_at":"2015-08-02T23:39:52Z","body":"I'd come to the same conclusion regarding the handler after reviewing the code. I'd be happy to submit a pull request when I modify the handler if that's something you'd be interested in. \n\n\n\n—\nZack HalloranDirector of Crowdmap\n\nUshahidi\n\nOn Sun, Aug 2, 2015 at 2:51 PM, Eric Winkler <notifications@github.com>\nwrote:\n\n> I don' think it is a permission issu. After reviewing the source code, what I think is happening is that the thumbnail generation is being skipped for existing observations when the handler for the Concept was changed since the thumbnail generation gets triggered during a save call on an observation. I am going to go ahead and mark this as a bug for now since the ThumbnailingImageHandler really needs to be able to handle cases where a Concept's handler gets changed-i.e. create the thumbnail on an observation fetch if it doesn't exist. While that is being looked at further, what you can try doing is accessing the observations where the problem is occurring through the OpenMRS web interface and navigating to:\n> 1. Administration\n> 2. Manage Observations\n> 3. Locate the existing observations using the search inputs-i.e. \"person and concept\" might be easiest.\n> 4. Select the \"Value\" for the observation which will take you to the default OpenMRS edit observation page.\n> 5. Add an edit reason and save.\n> That should trigger the thumbnail generation. It is a bit of a hacked workaround for the moment but I will try to get a fix for this into the module as soon as I can.\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/SanaMobile/sana.openmrs/issues/1#issuecomment-127053331"}}