Skip to Content
0
May 02, 2020 at 05:12 PM

ERROR Northwind image consumption.

69 Views

I AM TRYING TO USE NORTHWIND IMAGE IN MY SAPUI5 APPLICATION. BELOW IS MY CODE

	return Controller.extend("com.mindtree.com.NW_imgIntegration.controller.View1", {
		onInit: function () {
				
		var photo = this.getView().byId("im3");
		photo.setSrc("data:image/bmp;base64," + "FRwvAAIAAAANAA4AFAAhAP////9CaXRtYXAgSW1hZ2UAUGFpbnQuUGljdHVyZQABBQAAAgAAAAcAAABQQnJ1c2gAAAAAAAAAAAAgVAAAQk0gVAAAAAAAAHYAAAAoAAAAwAAAAN8AAAABAAQAAAAAAKBTAADODgAA2A4AAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////APAAAAAA.........................
.........
............");