Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Suitelet > serverwidget > list > Add image without resizing
Has anyone ever successfully added an image on a suitelet list? Here's my sample code:
var arList = ui.createList({
title : "A/R Aging with % of Total"
});
arList.addColumn({
id : 'column9',
type : ui.FieldType.IMAGE,
label : "Image"
});
arList.addRow({
row : { column9 : imgValue }
})
My problem is that NetSuite resizes the image. I want to add the image using the original image size. I proved this by inspecting the element. NetSuite is adding the following parameters to the image: resizeid=-3&resizeh=80&resizew=80
"https://system.na2.netsuite.com/core/media/media.nl?id=266706&c=1124108&h=a097c96ea8d53179fb8b&resizeid=-3&resizeh=80&resizew=80
Thanks and regards,
Lea Columna
We do the heavy lifting for your NetSuite Development projects so you can focus on growing your business.