Media adds a height and a width attribute to every image i add. The problem with that is that any responsive script like picture that change the source to a smaller image depending on mediaquerys will be useless.
Because of the fixed width/height every image for smaller screens will be upscaled.
Like i add an image with media and it gets 500 as width and height. When i change the browser window size the responsive script kicks in ad replaces the src=... with a small 100x100 Pixel image. This small image is beeing upscaled to 500x500 because media sets a fixed width/height on the img tag.

Did anyone else ever run into this problem? Hwo di you resolve that?

Comments

marcoka’s picture

it seems to fix this issue if you set width/ height to "auto" with css.
so this issue can be closed if you agree.

Chris Matthews’s picture

Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team