matjazp Posted April 9, 2015 Share Posted April 9, 2015 On ProcessPageEditImageSelect module you can check "Skip width attributes on images tag". When I insert the image (CKEditor) width tag is still there, like width="1300" (image is 1300 px wide). After page is saved width tag is stil there, but it is width="1200". Where is 1200 coming from? Is it possible to use the old module (without all of this options that might be confusing)? Testing on PW 2.5.25 dev. Link to comment Share on other sites More sharing options...
Zahari M. Posted October 7, 2015 Share Posted October 7, 2015 Hi matjazp A late answer to your question. I came across the same issue as you. I wanted to set the width attribute of my images to 1280. But what I found was that CKEditor has a maximum allowable value for the width attribute. And that maximum value is 1200 pixels. If you go to: wire/modules/Markup/MarkupHTMLPurifier/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema.ser There look for this bit... "HTML.MaxImgLength";i:1200 Change 1200 to your desired maximum value. Worked for me at least! Hope that helps Regards Zahari M. 3 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