-
Notifications
You must be signed in to change notification settings - Fork 7
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
Missing images in biosecurity alerts email template #208
Comments
There is no way of CSS/HTML to know if the image is broken link. It relies on JS to process when 'onerror' is triggered. Methods which have been tested and failed:
|
After using a default image or previous loaded image for missing thumbnail, Gmail prevents showing the pics, and some CSS controls are broken as well The html content we sent has been modified by GMail. For example: CSS classes and URL have been modified by Gmail When we use Outlook displayed: Gmail displayed: Update Now, both are not working |
Underline species name so it is clear it is a link. Swap Image and Map images so the map is displayed first. Left align content so it does not centre. |
the new changes are looking good in Outlook, gmail and yahoo mail on desktop |
For the Biosecurity Alert emails, there are some cases where the occurrence record thumbnail image is missing.
Screenshot of issue below:
https://biocache.ala.org.au/occurrences/2827a140-2252-4fa8-a918-39955e8bf2dc
To avoid the broken image, can we instead display the "no image available" placeholder in this scenario?
The text was updated successfully, but these errors were encountered: