@felmue Thanks Felix, I tested different urls with several jpg images and it is really working.
I was probably testing either images with wrong format or simply didn't wait long enough until the image is drawn. And not sure why, I was under impression that images need to be smaller than 50KB ... my bad.
Thanks again, you saved me a lot of headache :)