When we do the Web system, each browser tab here will have an icon, this icon is called the Favicon icon, favicon.ico file placed in the root directory of the systemIf the programmer does not have an ICO authoring tool, how do you generate the icon?
This article will share with you two pieces of code for generating ICO icons in php. The first one is implemented based on the YII Framework, and the second one is written in pure php, which is very good, for more information, see section 1.
Several related websites and downloads are provided:
Generate favicon. ICO address online:
Http://www.chami.com/html-kit/services/favicon/
There are 6 online tools:
Http://www.chami.com/html-kit/services/
Favicon from PICs // This is the online
Here I am using the YII framework.
1,phpthumb_ico is the class that generates the ICO icon, the source code is as follows
Class Phpthumb_ico {function Phpthumb_ico () {return true; } function gd2icostring (& $gd _image_array) {foreach ($gd
How to use PHP to convert ico to PNG online .. Please give answers. Yes .. You just need a method (not too abstract .. .).. It would be better if the source code is available .. Wait for the source code ., There is a class, but... how to use
Google chrome in ci requests favicon. ico, causing log errors. Chrome will automatically. ico requests, so when no favicon is added for the website. in ico, a 404 page error occurs. in actual development, the CI framework opens the ERRORlog, and a
1,phpthumb_ico is the class that generates the ICO icon, the source code is as follows
Class Phpthumb_ico {function Phpthumb_ico () {return true; } function gd2icostring (& $gd _image_array) {foreach ($gd _image_array as $key + = $gd _image)
How to use PHP to convert ico to PNG online .. Please give answers. Yes .. You just need a method (not too abstract .. .).. If the source code is available, it will be better ------ solution ------------------ .. Wait for the source code. ------
Class
1. PHP conversion image for the ICO format source sharing
Introduction: ICO image online conversion of pure PHP source code integration in the open source project,
2. HTML page Browser title bar display Small Icon method
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.