97s Posted December 13, 2012 Share Posted December 13, 2012 So I am using TinyMCE for the body editor, and if I add an image, I need to be able to choose the width of the image, but not choose the height. My website uses fluid image re-sizing. Currently I am removing the height attributes that get inserted when I add the picture manually using the HTML button. I would however like to just have the option to hit like 0 for height and it just stops automatically adding the height into the html code. Is there a place in Processwire or in TinyMCE where I can change this setting? Link to comment Share on other sites More sharing options...
Martijn Geerts Posted December 13, 2012 Share Posted December 13, 2012 Ryan & Apeisa wrote some usefull stuff about it: http://processwire.c...ax-width-issue/ Link to comment Share on other sites More sharing options...
97s Posted December 13, 2012 Author Share Posted December 13, 2012 Wow, dunno how i missed that topic. Thanks. Link to comment Share on other sites More sharing options...
ryan Posted December 17, 2012 Share Posted December 17, 2012 2.3 (dev branch) also supports omitting the width/height attributes from inserted images. You can get to it via Modules > Process > Page Edit Image, and see the checkbox in that module's settings. Link to comment Share on other sites More sharing options...
Christophe Posted April 10, 2018 Share Posted April 10, 2018 Hello, In Modules > Process > Page Edit Image, couldn't we also have this module include, by default, height attributes in the <img> tag, and a Skip height attributes on image tags? option? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now