Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
I just used the favicomatic site to generate loads of sizes for the favicon, so I have about a dozen images to load as well as some code for the favicon.

What's the best way to do this? Can it be done via the admin panel (the code that is)? Would it be in the "header insert" under Display Options>General?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You can have multiple favicon sizes in one favicon file, but I'd advise against trying to load all of them at once (as only the last one would count).

As for changing default images, I'd copy the "/images/general/default" folder to a new one (say "customized" (all of my sites have numerous folders for various styles)) so that when you do an upgrade it won't try to overwrite the files back to stock (you'll have to be diligent to check to see if there are new images in the future; something I try to include in any changelogs on the wiki), then just set the desired image set on all of your styles. Some point in there you'll want to slap your new favicon.ico file into the new folder.

id242 linked me to this which goes into other types of images (other than favicon's).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Thanks Gizmo.

The site I mentioned basically takes an image you upload and then churns out all the various favicon sizes as well as the following code. So you basically upload lots of separate image (favicon) files and insert the following code:

Code
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="http://www.x.yz/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://www.x.yz/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://www.x.yz/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://www.x.yz/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="http://www.x.yz/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="http://www.x.yz/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="http://www.x.yz/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="http://www.x.yz/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="http://www.x.yz/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="http://www.x.yz/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="http://www.x.yz/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="http://www.x.yz/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="http://www.x.yz/favicon-128.png" sizes="128x128" />
<meta name="application-name" content="X.yz - site description here"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="http://www.x.yz/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="http://www.x.yz/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="http://www.x.yz/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="http://www.x.yz/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="http://www.x.yz/mstile-310x310.png" />

It looks like overkill but I was just wondering whether I can use the code on the forums as well (maybe trimming down the number of images to 3-4 of the more popular ones).

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Yup, header insert; what generator did you use? thats a LOT lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
I used this site which really seems popular (and even had it's own Chrome app): http://www.favicomatic.com/

When you select the "Every damn size" option it actually dishes out 20 of them! smile

Not sure it's a good idea to bog down the forums with so much code, even though I assume that only one image gets selected and downloaded by the browser as the most appropriate icon to use?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Yeah, browsers would only download the image if it was supported; though that's alot of extra data per page that'd have to be downloaded each page load.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 552 guests, and 173 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)