   # Retrieves the URI of the current image.
   #
   # Returns a {String}.
-  getUri: -> @path
+  getUri: -> project?.relativize(@getPath()) ? @getPath()
 
   # Retrieves the path of the current image.
   #


  serialize: ->
    deserializer: 'ImageEditSession'
    path: @path

  getViewClass: ->
    require './image-view'

        new ImageEditSession(filePath)

  @deserialize: ({path}={}) ->
    path = project.resolve(path)
    if fsUtils.isFileSync(path)
      new ImageEditSession(path)
    else
      console.warn "Could not build image edit session for path '#{path}' because that file no longer exists"
