sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

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)

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Upload image to root

Hello,

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

sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Upload image to root

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

Any other ways around this?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Upload image to root

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Upload image to root

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.

Return to “Issues”