marekrei / encode-explorer

http://encode-explorer.siineiolekala.net
238 stars 120 forks source link

adding favicon #52

Open joshp23 opened 8 years ago

joshp23 commented 8 years ago

I have a favicon that I like to use for this. How does one incorporate it into the code the same way you have all the icons?

Taz8du29 commented 7 years ago

All the icons you see here are included in base64. The showImage() function is used to decode and show them to the end user.

Then you can add this in the html head : <link href="?img=YourImageNameHere" rel="icon" type="image/gif" />

and of course, this line right after others images : $_IMAGES["YourImageNameHere"] = "Base64 image here";