Upload image to root
I am trying to upload a image to the root menu, how do I do this (I am following this tutorial)
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I am trying to upload a image to the root menu, how do I do this (I am following this tutorial)
Hello,
in this case you will need to upload image to the root directory of your hosting server.
so if my hosting server was to be the appery hosting service?
Any other ways around this?
No such option yet (unless you host yourself). It is a good feature, we'll add it to Appery.io
Hi Sam,
There is a workaround. You would need embed the icon inside the HTML using a data URI (it works only on iOS 6 and above devices).
The main disadvantage is that the icon is always inside the HTML and there is no cache opportunity.
code<link rel="apple-touch-icon" href="my_icons/my_icon_file_path.png" />/code
will look something like this:
code<link rel="apple-touch-icon" href="data:image/png;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7" />/code
Please note that after you edit page html code manually you won't be able to develop the page in visual editor.