Added the ability to specifiy upload image API for addDropImage functionality