"Caption style“ and “Control CSS class” properties of CMSInlineControls\MediaControl.ascx.cs inline control are not applied for media type image.
Please open this file:
<web site folder>\CMSInlineControls\MediaControl.ascx.cs
Find the
CreateImage() method and add this code inside it:
imgParams.BorderWidth = -1;
imgParams.HSpace = -1;
imgParams.VSpace = -1;
imgParams.Class = "<yourclassname>";
imgParams.Style = "<yourstyles>";
This issue is fixed in the 5.0 version.
See also:
Applies to:
Kentico CMS 4.1
Created on
12/7/2009 4:55:28 AM in
Bug workarounds