esp.png

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pppp33
Normal user
Posts: 71
Joined: 25 Oct 2015, 17:53

esp.png

#1 Post by pppp33 » 02 Feb 2016, 19:10

I found in espeasy code a reference to file esp.png in spiff (it looks like a 50x50 image)....Who knows more about it ?
Thanx & regards
paolo

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#2 Post by tozett » 02 Feb 2016, 20:30

Great Question, i noticed it today to. the icon looks a little bit like the pfsense icon,
but i looked through github and found no explanation how it comes into the SPIFF.
Download? ASCII->bin? i a very interested in an explanation ... :)

Code: Select all

#if FEATURE_SPIFFS
  f = SPIFFS.open("esp.png", "r");
  if (f)
  {
    str += F("<img src=\"esp.png\" width=50 height=50 align=right >");
    f.close();
  }
#endif
https://github.com/ESP8266nu/ESPEasy/bl ... Server.ino

besides that, we are talking about this, arent we?:
https://en.wikipedia.org/wiki/Favicon

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#3 Post by tozett » 05 Feb 2016, 08:34

somehow fascinating. i am too blind to see.
cannot find anything more than the before mentioned in github.
https://github.com/ESP8266nu/ESPEasy
where does the icon come from? Mars?
i must question the internet:
http://scifi.stackexchange.com/question ... ing-unique

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#4 Post by tozett » 05 Feb 2016, 08:48

browserconfig.xml ?
https://css-tricks.com/favicon-quiz/

hard to find for an :? i really have no clue.. :oops:
Attachments
fav.png
fav.png (41.26 KiB) Viewed 6610 times

Martinus

Re: esp.png

#5 Post by Martinus » 05 Feb 2016, 18:21

The esp.png is just a remnant from the abandoned SPIFFS experiment, so better ignore it.
This piece of code is disabled for compilation anyway.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#6 Post by tozett » 05 Feb 2016, 19:07

ok, thanks. but i spent today again a certain amount of time into the search for the source of this icon.
while on a car-drive, i thought it came from the ESP core.
:roll: but there i also found nothing.

but it is visible in the tab, so it has to come to the SPIFFS somehow.
so question still remains: Why/how comes the favicon to live on a brandnew flashed chip with ESPeasy? should it stay a micracle?
:roll: :? :roll: :shock: :? :roll:

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#7 Post by tozett » 05 Feb 2016, 19:34

new observation: favicon only on the page with MAIN...
i will dig again.. :mrgreen:

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#8 Post by tozett » 05 Feb 2016, 22:36

:idea: :idea: :idea: very cool...
:idea: :idea: :idea: very cool...
Create a directory named data and any files you want in the file system there
https://github.com/esp8266/Arduino/blob ... ile-system
Uploading files to file system

ESP8266FS is a tool which integrates into the Arduino IDE.
It adds a menu item to Tools menu for uploading the contents of sketch data directory into ESP8266 flash file system.

Download the tool: https://github.com/esp8266/arduino-esp8 ... -0.2.0.zip.
In your Arduino sketchbook directory, create tools directory if it doesn't exist yet
Unpack the tool into tools directory (the path will look like <home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar)
Restart Arduino IDE
****************
Open a sketch (or create a new one and save it)
Go to sketch directory (choose Sketch > Show Sketch Folder)
Create a directory named data and any files you want in the file system there
Make sure you have selected a board, port, and closed Serial Monitor
Select Tools > ESP8266 Sketch Data Upload. This should start uploading the files into ESP8266 flash file system.
When done, IDE status bar will display SPIFFS Image Uploaded message.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: esp.png

#9 Post by tozett » 06 Feb 2016, 14:35

in R078 the favicon on the "MAIN" page went away.
silently...
:arrow:

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 18 guests