RealFaviconGenerator / realfavicongenerator

Generate favicon for all major platforms
501 stars 24 forks source link

Hybrid "root + sub-directory" setting #158

Open phbernard opened 9 years ago

phbernard commented 9 years ago

Currently, the user can choose two locations for his icons:

There could be a third, hybrid solution: everything in a sub-directory, except for favicon.ico. And maybe more files: browserconfig.xml, apple-touch-icon.png... But not too much, else the benefits of this approach are lost.

Yet, this approach as some drawbacks:

dandv commented 7 years ago

After ~half an hour with RFG, I was going to suggest the same approach:

I'm using this approach in production and it works almost flawlessly (the last warning is because GitHub pages serves the site under a subdirectory),

The installation procedure is more difficult. Copy this here, copy that there...

Solution: RFG can output a ZIP archive with the /icons/ subdirectory inside, as described above. Then the user only have to unzip it in the root folder.

Best of both worlds.

Not everyone want to read the FAQ to understand all the aspects of the "root/not" root issue. So a third option might sound like complex stuff.

Just offer that as the default, recommended option.

filips123 commented 5 years ago

Is there any update? I agree with @dandv and I also use this on my websites.