We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

FF Quantum: Top Sites thumbnail for my website?

  • 2 antwoorden
  • 2 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van retrogaming

more options

Hello,

Websites like Facebook, Imdb or Twitter have full size custom thumbnails instead of the partial screencap. How are they loaded to the Top Sites page? Is it automatic like Favicon or though a meta tag like like Facebook's og:image? How does it work? What's the official specification? I'd like to update my website ( http://www.1up-games.com ) with one. I searched Google and here but couldn't find any information on this topic; I suppose I failed to formulate the query correctly.

Hello, Websites like Facebook, Imdb or Twitter have full size custom thumbnails instead of the partial screencap. How are they loaded to the Top Sites page? Is it automatic like Favicon or though a meta tag like like Facebook's og:image? How does it work? What's the official specification? I'd like to update my website ( http://www.1up-games.com ) with one. I searched Google and here but couldn't find any information on this topic; I suppose I failed to formulate the query correctly.

Alle antwoorden (2)

more options

Looking through the top sites that I have, I believe it looks for any of the following:

A <link rel="shortcut icon"> with some minimum resolution. A <link rel="apple-touch-icon"> with some minimum resolution. A regular favicon with some minimum resolution.

I'm not sure what the exact minimum resolution is, but 128x128px images appear to work fine, so I would try that.

more options

Thanks, I'll try that!

But there is no official snippet on this ? Mozilla has all kinds of documentation pages, I can't believe there's no official word on which relationship value to use.

Oh, I just found this:

The media, type and sizes attributes allow the browser to select the most appropriate icon for its context. If several resources match, the browser will select the last one declared, in tree order. As these attributes are merely hints, and the resources may be inappropriate upon further inspection, the browser will then select another one, if appropriate.

Note: Apple's iOS does not use this link type, nor the sizes attribute, like others mobile browsers do, to select a webpage icon for Web Clip or a start-up placeholder. Instead it uses the non-standard apple-touch-icon and apple-touch-startup-image respectively.

The shortcut link type is often seen before icon, but this link type is non-conforming, ignored and web authors must not use it anymore.

From "icon" section of https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types

That helps clarify a few things.

Bewerkt door retrogaming op