By 'standard' filename conventions, I mean:
I know that it is possible to omit the reference to these icons in the HTML and iOS will automatically search the root directory for files with these filenames.
But, assuming I am going to include a reference to these icons in the HTML, is it allowed to use different filenames for the icon image files? For example:
So in my HTML it would look something like this:
<link rel="apple-touch-icon" href="path/to/icons/some-unique-id.png">
<link rel="apple-touch-icon" sizes="72x72" href="path/to/icons/some-unique-id-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="path/to/icons/some-unique-id-114x114.png">
<link rel="apple-touch-icon" sizes="144x144" href="path/to/icons/some-unique-id-144x144.png">
The reason I ask is that I need to use different icons for different sections/pages of my site and I'd like to store all the icons in a single directory. Obviously I can't store multiple versions of each icon all with the same filename.
Yes, if you use <link>
tags to link to your icon files correctly, then iOS should still be able to find them and you won't have to follow the standard naming convention.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With