Image loading procedure implemented.