check if images is loaded

Signed-off-by: Randell Quitain <cprjk.buzz@gmail.com>