Implementation of making Image path optional

Implementation of making Image path optional