How to add imagerotate plugin or other plugin, to rotate images in blog post?

Nov 12, 2015 at 2:25 AM
Edited Nov 12, 2015 at 2:27 AM
Hi,

I followed this guide: Add a Custom Plugin
to add imagerotate plugin to dnn toolbar, but it doesn't work.

I copied plugin files into \Providers\HtmlEditorProviders\CKEditor\plugins\imagerotate
I copied icons into Providers\HtmlEditorProviders\CKEditor\icons

In configuration, i added imagerotate to plugins

Image

I saw it on sql server in [CKEditorProviderSettings] table.

I changed CKToolbarButtons.xml

<ToolbarButton>
<ToolbarName>imagerotate</ToolbarName>
<ToolbarIcon>rotate-right.png</ToolbarIcon>
</ToolbarButton>

The plugin has two icons (also rotate-left.png), i tried to add a second icon but the beaviour it's the same.

In configuration, i added the button to basic toolbar, but at runtime, in the blog module, the toolbar haven't new button.

Image

Image

I tried to recycle pool and clean cache,
I tried to add plugin manually in the CKEditorSettings.xml,
I tried creating dialogs folder and by coping plugin.js inside
(HtmlEditorProviders\CKEditor\plugins\imagerotate\dialogs\plugin.js)

It doesn't work! :(

I need to rotate images after upload, or in the dialog of upload/preview, by this plugin or any other that works fine.

Can anyone help me?

Thanks! :)

Enrico