Features / Usability

Features / Usability

Re: Wysiwyg module: scaling/resizing image online ?

posts: 2417 Czech Republic

Hi Seb,

if you intend to use HTML mode in Wysiwyg, you can try putting e.g. HTML code like this:
<img src="display%fileId%" width="640">

In the Wiki markup to enter when image selected from "file gallery manager" of your File Gallery ( tiki-list_file_gallery.php?edit_mode=1&galleryId=1 ) to be inserted instead of the default wiki markup.


Seb wrote:

I'm pretty sure the editor is in HTML mode (I can switch from html to wiki editor).
With your tip, I can copy-paste a raw image from a word document now. Things are progressing... smile

For the image insertion, I tested different things (I'm using Firefox) and the problem seems to come from the way the PluginImg handles the "Include Image" function in the page: whatever the setting, it seems that it always does it as
{img fileId="#" thumb="box"}
rather than a HTML code such as

Does it mean that Image or File Gallery can't be used in HTML mode or that there are other options to set somewhere? (I didn't find anything)

(Image inserted shows up if I use the "Use Wiki syntax in WYSIWYG" option but then I can't edit these images the way I'd like, through the small window).