Attachments page, file upload widget missing

I cant seem to be able to add any attachments to the patient both on the demo and qa server…When I click the attachment link; I am redirected to the attachment page but I dont have any way to proceed. Any help rendered goes a longway. @mksd @ssmusoke @ruhanga @dkayiwa @mozzy

1 Like

Interesting and thanks. But wouldn’t it offer a better user experience if a prompt or message is given when one tries using it without specifying the visit to attach to?

Sure, would you be able to work on this? In any case, could you create an ATT ticket for this?

1 Like

Let me look into it. issue is here https://issues.openmrs.org/browse/ATT-35 @mksd

PR: https://github.com/openmrs/openmrs-module-attachments/pull/35

@mksd I seem to be encountering an error alert when I try to use my pc camera Webcam.js Error: Adobe Flash Player not found. Please install from get.adobe.com/flashplayer and try again. However I believe I have flash enabled

Am using chrome…Any pointers?

Thanks @reagan for sharing your findings.

I think all this needs to be upgraded… Not sure whether the embedded version of WebcamJS still does the job. Something better might have to be put in place.


For the record some of the logic around Flash vs no Flash is here:

var forceFlash = $window.chrome && $window.location.protocol != "https:";
forceFlash = !($window.chrome && $window.location.hostname === "localhost");

That’s just for info.

2 Likes

PR-ATT-36: Upgrade WebcamJS to v1.0.26 (from v1.0.9). by reagan-meant · Pull Request #38 · openmrs/openmrs-module-attachments · GitHub

I found this article helpful WebcamJS | PixlCore (the new version automatically handles fallback to flashPlayer when need arises) @mksd

1 Like

Great stuff @reagan, I created the ticket and merged your fix.

1 Like