image handling with amazon sever