Small basic has bugs with locally stored images
You need to define the Path and then add the image filename as direct text, but not a variable to make it work
Example of working code :
Path ="D:\image"
image = ImageList.LoadImage(Path + "\imagename.png")
Getting an image from the internet appears to work well using a standard URL
Example of working code :
bigRock = ImageList.LoadImage("http://smallbasic.com/drop/Asteroids_BigRock.png")
In Small Basic, following image file formats are supported.
bmp - Microsoft Bitmap (monochrome, 16 color, 256 color, 24bit color)
gif - GIF (Graphics Interface Format)
ico - Microsoft Icon.
jpg - JPEG (Joint Photographic Experts Group)
png - Portable Network Graphics.
tif - TIFF (Tagged Image File Format)