Added image load method