How To Set Custom Width Parameter To Img Tag Created By Tinymce?
How to set custom width parameter to img tag created by tinymce? I mean when you inster the image in textarea, how to change it's width to some custom value ? Image managers config
Solution 1:
Already answered but will post as answer so others will see that there is a solution for this problem
imagemanager_insert_template : function(fo, enc) {return '<img src=\"' + enc.xmlEncode(fo.url) + '\" width=\"$width_mini\" height=\"' + $width_mini/(fo.custom.width/fo.custom.height) + '\"/>';
},
Post a Comment for "How To Set Custom Width Parameter To Img Tag Created By Tinymce?"