Lets take A-24114 in the ticket. All the 4 images associated with registration are present in s3 bucket
But they are not rendering in the DEA
Inspite of the card played to render actual images when thumbnails missing, actual images not rendering in media viewer. But able to download the actual images.
Thumbnails for the images of A-24114 missing in thumbnails directory, though for subjects registered in a later date thumbnails are present
Root cause:
Because the images uploaded are of HEIF format. So for now Avni is not supporting these formats.
AC:
We are not retaining(code link) the image extension(.heic) on upload. Retain the extension such that in Media Viewer when the image of that type is downloaded user can know the format from the file extension.
Out of scope:
Because with the above AC we will know better what is displaying and what is not, after that we can do the below if needed.
We need to show the images are not displayed because of what reasons in DEA like in the image below. Error message to be shown is 'Since the image is in HEIC/HEIF format, it can't be displayed in the web app'.
Error message to be shown in media viewer: 'Since the image is in HEIC/HEIF format, it can't be displayed in the web app but can be downloaded'.
In mobile app, when someone uploads image of format HEIC/HEIF show the warning message 'Image of the uploaded format is not supported in web app. To fix it, disable 'High efficiency pictures' setting in mobile app'.
https://avni.freshdesk.com/a/tickets/4262
Issues:
env: prod, org: goonj
Lets take A-24114 in the ticket. All the 4 images associated with registration are present in s3 bucket
But they are not rendering in the DEA
Inspite of the card played to render actual images when thumbnails missing, actual images not rendering in media viewer. But able to download the actual images.
Root cause:
Because the images uploaded are of HEIF format. So for now Avni is not supporting these formats.
AC:
Out of scope:
Because with the above AC we will know better what is displaying and what is not, after that we can do the below if needed.