You are not logged in.
Hello,
Any time I use the image manager (we're also using the extended file manager plugin) to edit an image's properties, it always adds this style property to the img tag:
style="border-style: solid; border-width: 0px; margin: 0px; padding: 0px;"
Is there any way to prevent this from being generated? I've tried editing the onOK() function in plugins/ExtendedFileManager/assets/manager.js so that it checks for an empty field and skips adding it to the param array, but the style property is still generated, no change.
Adding that style property is overriding site-wide CSS, and I'd rather it not.
Thank You,
Troy
Offline
Such functionality is possible in EFM (thanks to ray) - look at EFM's config.inc.php:
$IMConfig['images_enable_alt'] = true;
$IMConfig['images_enable_title'] = false;
$IMConfig['images_enable_align'] = true;
$IMConfig['images_enable_styling'] = true;
Unfortunately, ImageManager does not have this config options. May I ask why do you use both plugins? As far as I know EFM has all the functionality of IM (plus many more). If there is something possible in IM, that EFM can't yet do, please let us know.
Cheers,
koto
Offline