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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | migrate_extras-Allow_Width_height-757238-1.patch | 741 bytes | rahulbile |
Comments
Comment #1
rahulbile commentedHere is a patch for same.
Comment #2
mrfelton commentedupdating status
Comment #3
mikeryanYep, I've actually done that elsewhere, good to have it centrally located. Committed with coding standard fixes, thanks.