The image is in the same location of the html file. And also the html source is same for both the pages-"ON CLICK OF THE HTML FILE" and "ON CLICK OF THE PREVIEW ICON". but the image is not displayed in the former.
and also when i try to get the content of the file through webscript, it shows only the text not the images.
"GET /alfresco/service/api/wcm/webprojects/sample/sandboxes/sample/assets/content/www/avm_webapps/ROOT/sample.html "
is this the right way to get the wcm content? or do we have some other way?