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
Generally speaking it's not advisable to explicitly set width or height on an image in order to support responsiveness. There are also implications for high density displays.
Maybe we misunderstand each other - I'm talking about the width and height parameters on the ImageMedium class. They're useful when calculating how to resize and crop images if I eg. want to render an image with an particular aspect ratio. Updating those parameters as the resize and crop related methods are called makes a lot of sense to help with calculations like that.
Whether or not theme authors use those parameters on <img> elements in the end is another question!
Would make sense if the width/height parameters were updated after the
crop
,resize
etc. methods have been called.The text was updated successfully, but these errors were encountered: