How do I scale URL loaded image?

I loaded a image from a URL but I don’t how to scale it. I want to scale it when loaded, but how do I?

this link shows how to load and position but doesn’t explain how to scale because my image load is to big. https://docs.coronalabs.com/api/library/display/loadRemoteImage.html

Can someone help me? Thanks

You can scale it after it loads. Use the listener:

https://docs.coronalabs.com/api/library/display/loadRemoteImage.html#listener-required

Watch for an event with isError == False, then scale the event.target based on the size it is created at versus the size you want it.

I made and example of this back in 2018:
https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/10/remoteBackImage.zip

@roaminggamer Thanks for the links!