| Image LibraryThe Image Library is an optional component that allows you to create a standard library of images that can be used in the HTML Rich Text Area. Additional images can also be uploaded to the library. The Image Library requires Microsoft IIS as it is written in ASP. To disable the Image Library set the SHOWADDFROMLIBRARY constant to false. Refer to Settings.asp for more information. To enable the Image Library ensure that SHOWADDFROMLIBRARY is set to true and that the IMAGELIBRARY constant correctly references the Library.asp file found in the /inc/ directory. ConfiguringTo configure the Image Library for your web server edit the LibraryCode.asp page. At the top of the page you will find declarations:
'Declare the path to initially display in the window Change the INITIALPATH, TOPOFPATH, HTTPTOTOPOFPATH and UPLOADTOOL to suit your environment. If you use a file upload component other then Soft Artisans FileUp or the Microsoft Posting Acceptor you may need to modify some of the code to handle this component. Refer to the Library.asp, LibraryCode.asp and LibraryUpload.asp files for more information. the source code is commented and modifications will be relatively simple even for novice programmers. If you set the UPLOADTOOL to 'NONE' the file upload text box is not displayed. PermissionsYou may need to set the permissions on the image library directory in order to allow the ASP code to read the directory and to upload files. Refer to the documentation on the file uploading component for more information. |
|