Page 1 of 1

Upload image to root

Posted: Sun Sep 15, 2013 6:55 pm
by sam5863015

I am trying to upload a image to the root menu, how do I do this (I am following this tutorial)

http://www.cellcode.com/news/how-to-a...


Upload image to root

Posted: Sun Sep 15, 2013 7:18 pm
by Illya Stepanov

Hello,

in this case you will need to upload image to the root directory of your hosting server.


Upload image to root

Posted: Sun Sep 15, 2013 7:32 pm
by sam5863015

so if my hosting server was to be the appery hosting service?

Any other ways around this?


Upload image to root

Posted: Sun Sep 15, 2013 9:09 pm
by maxkatz

No such option yet (unless you host yourself). It is a good feature, we'll add it to Appery.io


Upload image to root

Posted: Mon Sep 16, 2013 9:58 am
by Kateryna Grynko

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&#47;my_icon_file_path&#46;png" &#47;>/code
will look something like this:
code<link rel="apple-touch-icon" href="data:image&#47;png;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o&#47;XBs&#47;fNwfjZ0frl3&#47;zy7&#47;&#47;&#47;&#47;wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7" &#47;>/code

Please note that after you edit page html code manually you won't be able to develop the page in visual editor.