ZenphotoCMS Forum
Tiny MCE4 image properties - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Tiny MCE4 image properties (/thread-11857.html)



Tiny MCE4 image properties - Ralf - 03-07-2014

Hi,
maybe i am blind, but where in the new tinymce editor can i find the icon/setting to change image properties?

In the old editor there was an icon for this where I can change margins, textfloat, set title etc.

Sorry for this dumb question but i am searching for this since one hour

Cheers
Ralf




Tiny MCE4 image properties - acrylian - 03-07-2014

You are looking for this: http://www.zenphoto.org/news/using-tinyzenpage (Good reminder to finally update the screenshots…). There is still a "ZP" button on the editor as always. Except the "ribbon" configuration as that has no buttons.




Tiny MCE4 image properties - Ralf - 03-07-2014

Hi Acrylian,

no i do not mean the zp button.

I am talking about editing the properties after I have inserted it.
In the old version of the editor there have been two image buttons.
One for inserting an image (this button is still there) and one wher you can change the properties (margins, title etc).
This one is missing.

Ralf




Tiny MCE4 image properties - acrylian - 03-07-2014

Ah that you mean:
http://www.tinymce.com/tryit/full.php (image button)

That advanced tab of the image button plugin must be specifially enabled on the configuration. IHMO things: http://www.tinymce.com/wiki.php/Plugin:image

What I see on that advanced tab IMHO should be set via the theme actually and never on the image itself. However I will see to enable it on our configurations.




Tiny MCE4 image properties - Ralf - 04-07-2014

Hi Acrylian,

i have figured out to enable the advanced image tab when using the 'full' option.
Therefore I have edited the following files:
zenphoto-full.js.php
zenpage-full.js.php

In the tinymce init secion i have added the following line right after the 'relative_urls: false,':

image_advtab: true,

Now the advanced tab is visible when inserting/editing an image.

Cheers
Ralf




Tiny MCE4 image properties - acrylian - 04-07-2014

The master on GitHub has it meanwhile enabled for all gallery/zenpage configurations, too.