added code for image load
added code for image load