Page 1 of 1
[Solved] Adding an image while writing a page?
Posted: Wed Oct 01, 2008 2:40 pm
by simon_a
Hi,
is it possible upload a new image while writing a page, or do I have to first use the Image Manager, and then start writing the content?
Simon
Re: Adding an image while writing a page?
Posted: Wed Oct 01, 2008 2:57 pm
by Russ
Image Manager first, although you could open two browser tabs onto the Admin program and have one for writing and one for image Manager?
Re: Adding an image while writing a page?
Posted: Thu Oct 02, 2008 8:17 am
by simon_a
Ok, thanks for that Russ. Not as intuitive as other systems that I have used, but I'm not complaining

Re: Adding an image while writing a page?
Posted: Thu Oct 02, 2008 9:12 am
by Connie
you can use FCKEditorX module and using that you can include or upload and include images for sure and very easy
Re: Adding an image while writing a page?
Posted: Mon Oct 06, 2008 10:32 am
by simon_a
Thanks Connie. I installed FCKEditorX, but it's showing up strangely, the toolbar is just some messed up text. It's probably incompatible with the lastest CMSMS.
Re: Adding an image while writing a page?
Posted: Mon Oct 06, 2008 11:50 am
by Connie
it is not at all
but somewhere in the forum is written already and I wrote it as well, but forgot to tell you:
edit the editor configuration and set a width and height in pixel, do not keep "default" there
so will get the magic FCKEditor and you can integrate images very comfortabley with that editor
Re: Adding an image while writing a page?
Posted: Mon Oct 13, 2008 9:01 am
by simon_a
As a follow-up, I hacked together a solution using the simple javascript mentioned here:
http://tinymce.moxiecode.com/punbb/view ... p?id=11640
Code: Select all
I wrote our own image manager completely outside of TinyMCE. I call it from within the image.htm file by adding this line:
<a href="path/to/my/filemanagerapp.aspx" onClick="window.open('path/to/my/filemanagerapp.aspx', 'imageBrowse', 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=650');return false;" title="Browse or Upload image">upload/select an image</a>
And then I send the particular image back to TinyMCE via this:
<a href="javascript:;" onclick="window.opener.document.getElementById('src').value='/path/to/my/image.gif';javascript:window.close();">
image.gif
</a>