OpenNTF.org - Add/Replace an Image Resource
    Advanced
   OpenNTF Code Bin
Edit Document Code By Rating > Code Document
About This Code
Brief Description:
Add/Replace an Image Resource to a DB using DXL 
Rating:
Rating: 5 , Number of votes: 2 
Contributor:
Lou Capozzoli 
Category:
Design Elements, Lotusscript, Other 
Type:
Utilities 
Notes Version:
R6.x 
Last Modified:
17 Feb 2006 
OpenNTF Disclaimer

All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.

Code / Description
This is LotusScript from an agent that uses DXL to add or replace image resources in a Notes DB using DXL. It is only tested in R6.5, but R7 & possibly R6 support should be coming soon.


This code was started from the sample DB from Lotuspere provided by Dick Annicchiarico. It utilizes a Base64 script library built by Julian Robichaux.

Usage / Example
Simply add the 2 attachments below into the database & run it from the actions list.

ImportImageDXL.txt - Agent code
base64.txt - Script Library
Code Attachments
base64.txt (14 Kbytes)
 Comments
Posted by Pettrie de Bondt on 10/07/2006 01:35:31 PMSome errors
This code did not work at first in my Notes 7.0.1 environment, but after a few updates on the code it worked great!
Thanks
Posted by Bryan Schmiedeler on 09/10/2007 03:06:17 PMWhat updates are needed..
for this to work in LN 7.0.x?
 Add your comment!