Add drag drop image function