I am trying to load images onto a canvas using url source.
The images loaded are forming a map , so its important that
every image will be
exactly in the wright place.
The problem is that sometimes an image is not loaded , and I
get error 504 "Gateway RequestTimeout" ,
what i want to do is shorten the time of the error so if an
image isnt loaded after 5 seconds i will get the error
and reload it. How do i change the timeout of the loading ?
or maybe i should use another method to load the images to
the canvas ?