Much, much better performance getting random image