Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image shows different size bug #2057

Closed
FikriMilano opened this issue Jun 29, 2023 · 3 comments · Fixed by #2105
Closed

Image shows different size bug #2057

FikriMilano opened this issue Jun 29, 2023 · 3 comments · Fixed by #2105
Assignees

Comments

@FikriMilano
Copy link
Collaborator

FikriMilano commented Jun 29, 2023

Describe the bug
Every time you go back and forth to that page that has an image, it will show you different image size.

Component
SDC library

To Reproduce

  1. Create paginated questionnaire
  2. Have this itemMedia extension to a questionnaire.item
{
  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia",
  "valueAttachment": {
    "contentType": "image/png",
    "data": "base64 image",
    "title": "Discussion"
  }
}
  1. Every time you go back and forth to that page that has an image, it will show different image size

Expected behavior
Image size should stay consistent

Screenshots

Smartphone (please complete the following information):

  • Device: [e.g. Pixel4a emulator]
  • Android version: [e.g. Settings -> About phone -> Android version]
  • Build number: [e.g. Settings -> About phone -> Build number]
  • Version [e.g. 22]

Additional context

Would you like to work on the issue?
N/A

@santosh-pingle
Copy link
Collaborator

@FikriMilano
I will take look, if you have not started working on it yet. thanks!

@santosh-pingle
Copy link
Collaborator

Could you please attach the questionnaire json

@FikriMilano
Copy link
Collaborator Author

I've not started yet, thanks for picking this up @santosh-pingle
I've added the sample Questionnaire in the ticket description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

2 participants