EnglishDeutschFrançais
LATEST VERSIONS
Download a 30-Day Free Trial
Test drive our Online Demos

1.4 How are images inserted into HTML documents within a CMS ? do they have to be transferred by FTP separately?

edit-on Pro itself does not upload images to the server. The editor will only include <IMG> tags which reference images from your CMS and/or another website/server etc. There are many ways to transfer images to your CMS server, e.g. FTP or HTTP upload. Firstly, you have to create a HTML form that allows your user to upload an image file. Then you have to use a special CGI script/program to accept this information and then store the image data into the file system of your server or into a RDBMS.

 

You can, for example, use a PHP or a Perl script, which is freely available on PHP/Perl developer sites. Another solution might be to use an "UploadHandler" COM component, which can be installed on your server if you happen to be using a NT/IIS solution. Please see also our online "CMS Demo" which displays the process of an upload mechanism implemented in PHP.

 

With edit-on-Pro, it is also possible to integrate a server-based image management by applying a Custom Dialog in Java, to, for example, implement an Image browser with preview etc. You can achieve the same goal with HTML/JavaScript, using the edit-on Pro JavaScript API "InsertImage". 

 

Within our online demos, you will see the editor's default "Insert Image" dialog, while the online "CMS Demo" shows a custom dialog through which the user can insert an image from our web server. The edit-on Pro APIs are well documented. Please see the edit-on Pro integration manual for further details.

Copyright © 2000-2008 RealObjects GmbH