Added image uploaded functionality