You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you display an image and specify a size using mediarepositoryImageThumb the currently generated code also includes the html tags "width" and "height". From my tests I conclude that these are unncessary as the mediarepositoryImageThumb size designation already ensures that the images has the specified size.
The text was updated successfully, but these errors were encountered:
There is a good good reason for width and height tags: Performance and Accessibility.
If the html code explicitely includes image dimensions the user agent / browser knows these earlier and can therefore preassign the required space. This can lead to significant improvements from user perspective during the page display as the browser does not change or resize things after another image has been loaded.
When you display an image and specify a size using mediarepositoryImageThumb the currently generated code also includes the html tags "width" and "height". From my tests I conclude that these are unncessary as the mediarepositoryImageThumb size designation already ensures that the images has the specified size.
The text was updated successfully, but these errors were encountered: