Loading image size and data