Fixed callback, add allow mime, fixed URL returned.