{"action":"opened","issue":{"url":"https://api.github.com/repos/huafu/ember-img-manager/issues/4","labels_url":"https://api.github.com/repos/huafu/ember-img-manager/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/huafu/ember-img-manager/issues/4/comments","events_url":"https://api.github.com/repos/huafu/ember-img-manager/issues/4/events","html_url":"https://github.com/huafu/ember-img-manager/issues/4","id":59517828,"number":4,"title":"ENV.imgManager Settings Question","user":{"login":"eaglevision20","id":2037551,"avatar_url":"https://avatars.githubusercontent.com/u/2037551?v=3","gravatar_id":"","url":"https://api.github.com/users/eaglevision20","html_url":"https://github.com/eaglevision20","followers_url":"https://api.github.com/users/eaglevision20/followers","following_url":"https://api.github.com/users/eaglevision20/following{/other_user}","gists_url":"https://api.github.com/users/eaglevision20/gists{/gist_id}","starred_url":"https://api.github.com/users/eaglevision20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaglevision20/subscriptions","organizations_url":"https://api.github.com/users/eaglevision20/orgs","repos_url":"https://api.github.com/users/eaglevision20/repos","events_url":"https://api.github.com/users/eaglevision20/events{/privacy}","received_events_url":"https://api.github.com/users/eaglevision20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T18:01:40Z","updated_at":"2015-03-02T18:01:40Z","closed_at":null,"body":"Thank you for making this an ember-cli addon. It has greatly decreased the page load time for me. (Even more than a couple other methods I have tried)\r\n\r\nIn my project the 'lazyLoad' attribute seems to be defaulted to false. I have tried to over ride this in the config file, but no dice. my code is below. Am I missing something?\r\n\r\n```\r\n// root/config/environment.js\r\n\r\n/* jshint node: true */\r\n\r\nmodule.exports = function(environment) {\r\n  var ENV = {\r\n    modulePrefix: 'tang',\r\n    podModulePrefix: 'tang/pods', // directory where resolver will look for your resource files\r\n    environment: environment,\r\n    baseURL: '/',\r\n    locationType: 'auto',\r\n    EmberENV: {\r\n        contentSecurityPolicy: {\r\n            'default-src': \"'none'\",\r\n            'script-src': \"'self' 'unsafe-inline' 'unsafe-eval' use.typekit.net connect.facebook.net maps.googleapis.com maps.gstatic.com\",\r\n            'font-src': \"'self' http://fonts.gstatic.com\",\r\n            'connect-src': \"'self'\",\r\n            'img-src': \"'self' www.facebook.com p.typekit.net\",\r\n            'style-src': \"'self' 'unsafe-inline' use.typekit.net\",\r\n            'frame-src': \"s-static.ak.facebook.com static.ak.facebook.com www.facebook.com\"\r\n        },\r\n        FEATURES: {\r\n            // Here you can enable experimental features on an ember canary build\r\n            // e.g. 'with-controller': true\r\n        }\r\n    },\r\n\r\n    APP: {\r\n        // Here you can pass flags/options to your application instance\r\n        // when it is created\r\n    },\r\n  };\r\n\r\n  ENV.imgManager = {\r\n    // should we start loading a source image only when it appear in the viewport (default: true)\r\n    lazyLoad: true,\r\n    // the image to use while loading the real image (default: null)\r\n    loadingSrc: 'assets/728.GIF',\r\n  };\r\n\r\n  if (environment === 'development') {\r\n    // ENV.APP.LOG_RESOLVER = true;\r\n    ENV.APP.LOG_ACTIVE_GENERATION = true;\r\n    // ENV.APP.LOG_TRANSITIONS = true;\r\n    // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;\r\n    ENV.APP.LOG_VIEW_LOOKUPS = true;\r\n  }\r\n\r\n  if (environment === 'test') {\r\n    // Testem prefers this...\r\n    ENV.baseURL = '/';\r\n    ENV.locationType = 'auto';\r\n\r\n    // keep test console output quieter\r\n    ENV.APP.LOG_ACTIVE_GENERATION = false;\r\n    ENV.APP.LOG_VIEW_LOOKUPS = false;\r\n\r\n    ENV.APP.rootElement = '#ember-testing';\r\n  }\r\n\r\n  if (environment === 'production') {\r\n\r\n  }\r\n\r\n  return ENV;\r\n};\r\n```\r\n\r\nThanks!"}}