{"action":"created","issue":{"url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/61","repository_url":"https://api.github.com/repos/stephskardal/rails_admin_import","labels_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/61/comments","events_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/61/events","html_url":"https://github.com/stephskardal/rails_admin_import/issues/61","id":138329210,"number":61,"title":"Uploading images via URL during import","user":{"login":"dmitrypol","id":210308,"avatar_url":"https://avatars.githubusercontent.com/u/210308?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrypol","html_url":"https://github.com/dmitrypol","followers_url":"https://api.github.com/users/dmitrypol/followers","following_url":"https://api.github.com/users/dmitrypol/following{/other_user}","gists_url":"https://api.github.com/users/dmitrypol/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrypol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrypol/subscriptions","organizations_url":"https://api.github.com/users/dmitrypol/orgs","repos_url":"https://api.github.com/users/dmitrypol/repos","events_url":"https://api.github.com/users/dmitrypol/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrypol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T23:28:26Z","updated_at":"2016-03-06T23:18:16Z","closed_at":null,"body":"Got another question.  And the answer might be no.  I am using carrierwave-mongoid and RailsAdmin generates nice upload UI.  Is it possible to specify URL to image in the upload CSV file for RailsAdminImport?  I am trying to use before_import_save hook but it's not working.  \r\n\r\nHere is a basic model:\r\n```\r\nclass Account\r\n  include Mongoid::Document\r\n  field :name,  type: String\r\n  field :image, type: String\r\n  mount_uploader :image, MyImageUploader\r\n  validates :name, :image, presence: true\r\nend\r\n```\r\nAnd CSV:\r\n```\r\nName, Image\r\nSome name,http://somewebsite.com/image.jpg\r\n```"},"comment":{"url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/comments/193014567","html_url":"https://github.com/stephskardal/rails_admin_import/issues/61#issuecomment-193014567","issue_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/61","id":193014567,"user":{"login":"monkbroc","id":1919681,"avatar_url":"https://avatars.githubusercontent.com/u/1919681?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbroc","html_url":"https://github.com/monkbroc","followers_url":"https://api.github.com/users/monkbroc/followers","following_url":"https://api.github.com/users/monkbroc/following{/other_user}","gists_url":"https://api.github.com/users/monkbroc/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbroc/subscriptions","organizations_url":"https://api.github.com/users/monkbroc/orgs","repos_url":"https://api.github.com/users/monkbroc/repos","events_url":"https://api.github.com/users/monkbroc/events{/privacy}","received_events_url":"https://api.github.com/users/monkbroc/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T23:18:16Z","updated_at":"2016-03-06T23:18:16Z","body":"I'm not sure I understand your question. My guess is that the code in the `before_import_save` hook should be similar to code you would use in the Rails console to manually add an image to your model."}}