   
     @photos.push url
     @thumbnails.push url
-    @grid.addPhoto url
+    @grid.addPhoto url, url
     @update()
     
   addMedia: (image) =>

      onRemove: (photo, thumbnail) => 
        @photos = @photos.without photo
        @thumbnails = @thumbnails.without thumbnail
        @update()
    }
    @view.add @grid.view
    @update()


    @photos.push filename
    @thumbnails.push thumbfilename
    @grid.addPhoto thumbfilename, filename
    @update()
    
  saveImage: (image, filename) ->
