{"action":"opened","issue":{"url":"https://api.github.com/repos/toy/image_optim/issues/128","repository_url":"https://api.github.com/repos/toy/image_optim","labels_url":"https://api.github.com/repos/toy/image_optim/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/toy/image_optim/issues/128/comments","events_url":"https://api.github.com/repos/toy/image_optim/issues/128/events","html_url":"https://github.com/toy/image_optim/issues/128","id":139517500,"number":128,"title":"after install image_optim  i can't find image_optim.yml file. I need add own config","user":{"login":"OlgaBurtyka","id":4771407,"avatar_url":"https://avatars.githubusercontent.com/u/4771407?v=3","gravatar_id":"","url":"https://api.github.com/users/OlgaBurtyka","html_url":"https://github.com/OlgaBurtyka","followers_url":"https://api.github.com/users/OlgaBurtyka/followers","following_url":"https://api.github.com/users/OlgaBurtyka/following{/other_user}","gists_url":"https://api.github.com/users/OlgaBurtyka/gists{/gist_id}","starred_url":"https://api.github.com/users/OlgaBurtyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlgaBurtyka/subscriptions","organizations_url":"https://api.github.com/users/OlgaBurtyka/orgs","repos_url":"https://api.github.com/users/OlgaBurtyka/repos","events_url":"https://api.github.com/users/OlgaBurtyka/events{/privacy}","received_events_url":"https://api.github.com/users/OlgaBurtyka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T09:05:44Z","updated_at":"2016-03-09T09:05:44Z","closed_at":null,"body":"Hi! Please, explain me where i can find or create image_optim.yml(I never can find it)?  \r\n\r\nAfter installed i find usr/local/bin/image_optim \r\nthere  was this content \r\n\" require 'rubygems'\r\n\r\nversion = \">= 0\"\r\n\r\nif ARGV.first\r\n  str = ARGV.first\r\n  str = str.dup.force_encoding(\"BINARY\") if str.respond_to? :force_encoding\r\n  if str =~ /\\A_(.*)_\\z/\r\n    version = $1\r\n    ARGV.shift\r\n  end\r\nend\r\n\r\ngem 'image_optim', version\r\nload Gem.bin_path('image_optim', 'image_optim', version) \"\r\n\r\n\r\nbut i need add image_optim.yml file with this setting:\r\n\r\nallow_lossy: true       # Small images through lossy compression\r\nverbose: false      # Verbose output\r\n\r\n# Worker/optimizer-specific configurations follow\r\n\r\nadvpng:\r\n  level: 4          # Compression level: 0 - don't compress, 1 - fast, \r\n                    # 2 - normal, 3 - extra, 4 - extreme\r\n\r\ngifsicle:\r\n  level: 3          # Compression level: 1 - light and fast, 2 - normal,\r\n                    # 3 - heavy (slower)\r\n  careful: false    # Avoid bugs with some software\r\n\r\njpegoptim:\r\n  max_quality: 70   # Maximum image quality factor 0..100, ignored if\r\n                    # allow_lossy is false\r\n\r\njpegrecompress:\r\n  quality: 1        # JPEG quality preset: 0 - low, 1 - medium, 2 - high,\r\n                    # 3 - veryhigh\r\n\r\noptipng:\r\n  level: 7        # Optimization level preset: 0 - least, 7 - best\r\n\r\npngquant:\r\n  quality: !ruby/range 50..75  # Quality min..max - don't save below min,\r\n                              # use less colors below max\r\n  speed: 1        # Speed/quality trade-off: 1 - slow, 3 - default, \r\n                  # 11 - fast & rough\r\n\r\n# Note: PNGOUT is free to use even in commercial soft, but you can not\r\n# redistribute, repackage or reuse it without consent and agreement of\r\n# its creator.\r\n#\r\n# Enable PNGOUT optimization by downloading and installing the binaries\r\n# available from http://www.jonof.id.au/kenutils\r\npngout: false\r\n\r\nsvgo: false\r\n\r\n\r\nI used magento CMS and Ubuntu. Please say me where need place image_optim.yml file, how setup and apply canges from  image_optim.yml? Thanks\r\n\r\n"}}