When using rewriteImgTags to scan for image tags and replacing it with media code, it dose not take care of the width and height of the image tag.

Also once this is done for media module version greater than media-7.x-1.0-rc3+ & 2.0-unstable3+ , there is a issue which needs to be fixed to get it fully working. : Resizing images in WYSIWYG broken in media-7.x-1.0-rc3+ & 2.0-unstable3+

The patch here works fine though : http://drupal.org/node/1411340#comment-6051746

Comments

rahulbile’s picture

Here is a patch for same.

mrfelton’s picture

Status: Active » Needs review

updating status

mikeryan’s picture

Status: Needs review » Fixed

Yep, I've actually done that elsewhere, good to have it centrally located. Committed with coding standard fixes, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.