ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

Improve image loading inside the image teaching element #660

Closed bubafinder closed 3 years ago

bubafinder commented 3 years ago

I'm submitting a...

Steps to reproduce

  1. Upload a bigger image to the image teaching element. Wait till the teaching element is updated
  2. Hard reload the page

Current behavior

Because the image is big to load, the Image teaching element is very narrow in the beginning and the user is not aware that the image is loading. If inside the Activity item is a lot of content after the image is loaded (or more images), content is moving inside the Activity item. image

Expected behavior

Add min height to the Image teaching element and some kind of loading indicator so user is aware that image is loading. It would be good to know the image aspect ratio in advance, so Image teaching element can use proper height from the start.