Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source file resolution prefix #68

Open
gibbs opened this issue Aug 28, 2015 · 3 comments
Open

Source file resolution prefix #68

gibbs opened this issue Aug 28, 2015 · 3 comments

Comments

@gibbs
Copy link

gibbs commented Aug 28, 2015

Has anybody managed to get this to work? I have the following files; logo.128x128.png logo.16x16.png logo.png however logo.png only gets used.

favicons: {
  options: {
      androidHomescreen: true,
      apple: true,
      appleTouchBackgroundColor: '#ffffff',
      coast: true,
      firefox: true,
      firefoxRound: true,
      html: './media/favicons/markup.html',
      HTMLPrefix: '/media/favicons/',
      precomposed: false,
      regular: true,
      sharp: 1,
      tileBlackWhite: false,
      tileColor: '#ffffff',
      trueColor: true,
      windowsTile: true
  },
  icons: {
      src:  'media/favicons/original/logo.png',
      dest: 'media/favicons/'
  }
},

Am I missing something here?

@viktorbijlenga
Copy link

What are you trying to achieve?

@gibbs
Copy link
Author

gibbs commented Aug 29, 2015

Maybe I've got the wrong impression but from the readme;

Input: square logo in png. You can also keep near the source files with resolution prefix e.g. source.16x16.png.

I was assuming I could use different images depending on the image dimensions. All 16x16 icons would use the logo.16x16.png for example.

@viktorbijlenga
Copy link

@gleero Any input on this? According to the readme this should work right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants