Reduce layout shift for images and documents with fallback if err
Reduce layout shift for images and documents with fallback if err

Used width and height attributes, as per the google article at
https://web.dev/optimize-cls/.

Wasn't able to test with video files, so I left them alone. I did
notice the youtube video layout shift seems to be already handled
with css!

Tried to ensure current defaults in the cases where width and
height aren't available. Not quite sure of the file wrangling.

jhpyle/docassemble,jhpyle/docassemble,jhpyle/docassemble,jhpyle/docassemble,jhpyle/docassemble