AnsweredAssumed Answered

retrieving an image from the repository using webscripts

Question asked by emichbe on Sep 10, 2007
Latest reply on Sep 10, 2007 by emichbe
Hi,

I am trying to retrieve a picture from the repository using webscripts :
var image = search.findNode("workspace://SpacesStore/89636147-5c76-11dc-b969-3bdfab08a4b3");
model.imgContent = image.content;

Somehow, the content stored in model.imgContent is corrupt. The size is different than the original file.

How can I retrieve content in a correct way ?!

Outcomes