on 02-04-2008 12:21 PM
Hi
I can't get the Image Loader to work in 12.0.2 (88), I am trying to put an image in a PDF document.
As a trial I have Image Loader loading a file called source.gif file using 11.5, I can then use image saver to write the file to temp.gif, which works fine.
If I try the same in 12, the temp.gif file is created, but can't be opened.
If I put the filename in the Loader (eg apps\sap.com\xappsxmiiear\servlet_jsp\XMII\root\CM\source.gif) the "EncodedImage" property shows a short string of garbage, and temp.gif is only 6 bytes. There is no error message given.
If I use the url (eg http://server:url/XMII/CM/temp.gif), the "EncodedImage" string is a lot longer, and the temp.gif file is twice the size as source.gif. Again there is no error message given.
Hope this all makes sense, and someone can help...
Thanks
Nick
Nick,
Any reason you are loading the image directly from the NW file path? Should load the image into the CM database via the Import on the workbench and use:
web://<project>/<path>/imagename.jpg
OR
db://<project>/<path>/imagename.jpg
in the Load Image action block.
As far as accessing this image dynamically, without the import, I was able to replicate the issue so please enter it into CSS. Thanks.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds like it is working OK in the URL case, which probably means that you have a permissions issue at the OS level (the account that SAP Web Application Server and xMII are running does not have read and/or write permissions for that file/directory).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.