forked from: upload image and load it

