Quoting docs:
Nothing is returned from calling this function. The listener callback will contain the display object value (
event.target) if the download was successful.
local function remoteImageListener(event)
if (event.target) then
print (event.target, event.target.width, event.target.height)
end
end
display.loadRemoteImage( "https://solar2d.com/images/logo-banner.png", "GET", remoteImageListener, "solar2d" )