English 中文(简体)
icon isn t show on the desktop shortcut
原标题:website icon isn t showing on the desktop shortcut

我有一个网站,直接从届会中添加某种条码,而我补充说,它只是一个捷径。

我试图对一部成不变的法典作出评论,并且的确做了工作,但捷径显示,这部法律是:

  <!-- <link rel="shortcut icon" type="image/x-icon" href="../app-assets/images/ico/favicon.ico"> -->

  <link rel="shortcut icon" type="image/icon" href="../../images/<?php echo $_SESSION[ profile ][ tenant_logo_uuid ]; ?>">

谁能帮助?

问题回答

请注意,“口头”并非标准(如上所述),因此请不使用。

1. 为创建智能电话/桌子,包括短信,你应当把:

a) a favicon.png (size:16X16)

b) 具有不同尺寸的若干方形形形状,以便适合不同大小的智能手机和桌子(见下文)。

<link rel="icon" href="https://www.yoursite.com/favicon.png"> 


<link href="https://www.yoursite.com/apple-touch-icon-57X57.png" rel="apple-touch-icon" />
<link href="https://www.yoursite.com/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" />
<link href="https://www.yoursite.com/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" />
<link href="https://www.yoursite.com/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" />
<link href="https://www.yoursite.com/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180" />
<link href="https://www.yoursite.com/icon-hires.png" rel="icon" sizes="192x192" />
<link href="https://www.yoursite.com/icon-normal.png" rel="icon" sizes="128x128" />

如果你想要生成这些缩略语<代码>,则确保以你想要的标语取代上述缩略语。

现在就你们而言,假设届会的变量,如<代码><?php呼应_SESSION[简介][承租人_logo_uuid];?>。 如下表所示,确实产生了有效的航空档案:

<link rel="shortcut icon" type="image/icon" href="../../images/<?php echo $_SESSION[ profile ][ tenant_logo_uuid ]; ?>">

在这种情况下,按照我建议的答复修改行文条线,并建议用户创建网站的桌面短cut<>AFTER。 他(她)在现场工作。

在我的经验中,智能电话/桌式 desktop一直保持下去,即使用户更换了自己的装置,但还没有连接。 (由于殴打)





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签