473,769 Members | 6,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

convert a jpg image to a favicon, is it possible?


Hi,

How can I/Is it possible to convert a jpg image to a favicon using php
(including resizing it if needed)?

Leif

Jul 17 '05 #1
1 1902
Leif Wessman wrote:
Hi,

How can I/Is it possible to convert a jpg image to a favicon using php
(including resizing it if needed)?
Leif


Using GD2, I suppose ? All the scripts I know of are CGI perl-based..

Aphrael...
--
"La demande mondiale d’ordinateurs n’excédera pas cinq machines."
(Thomas Watson, Fondateur d'IBM, 1945)
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
14169
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
1
1290
by: edunetgen | last post by:
I have a Web Aplication. I want an own image when an user adds me to favorite. Thanks, Edu
5
2767
by: Miguel Angel | last post by:
Hi, I would like to insert an image into a html page title. I have been looking for information on how to do it, but haven't found any, thus here I am. I may be in the wrong place, but I could not find any other group that dealt with anything to do with html. Is is possible to do this? {It is only a little image :)}
1
1652
by: Patrick Olurotimi Ige | last post by:
I have an icon called favicon.ico that i created for a website and it WORKS but u have to first bookmark the page before u see the ICON in the URL instead of the IE icon! <link rel="shortcut icon" href="favicon.ico"> But is it possible for users to see it without first Adding the page to the favorites!!... Any ideas..
4
2959
by: Chameleon | last post by:
the extension of favicon MUST BE ico? what if I use a 16x16 favicon.png?
2
1561
by: a | last post by:
/favicon.ico i want to get the favicon.ico from the URL when a blog is added to the aggregator and then display the image, this is the usage scenario Please let me know how to do this in python
5
1880
by: The Eclectic Electric | last post by:
I'm very noobish when it comes to Javascript, in fact I wasn't intending to use it at all, but I've got myself distracted by this "problem". I want to use an animated gif as my favicon. This works fine in Firefox, but Opera and IE6 ignore it. To get around this, I started off attempting a browser detection script (I know!) which I cobbled together from a couple of others, but this doesn't work (is it because I'm trying to do weird things...
7
2215
by: sarellaravi | last post by:
hello every one, how to add image to address bar. i written code within in head tag <link rel=alternate href=images/animated_favicon1.gif> but it is not working i am working on asp.net just tell me is there any mistake in the code. or there is some othe way.
4
3053
by: mistral | last post by:
Does it possible change favicon icon depending on browser type: display favicon.ico for Internet Explorer browsers, and favicon.gif for the rest browsers? Problem is that ugly MSIE can display only .ICO favicons, whereas other browsers support any favicon type - gif, png, jpg. Since gif favicons has much better quality than ico file, I'm wondering does it possible sort browsers with javascript and show appropriate favicon type for...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7409
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.