A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Page thumbnail: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== The problem ==
== The problem ==
To get a thumbnail (screenshot) of the page, we need to use some 3rd party services, such as Alexa, Snapcasa etc. Problem is that they are to slow. These services add request of the thumbnail to the queue so you are unable to get the thumbnail of the page instantly. What's more, you became dependent on them.   
To get a thumbnail (screenshot) of the page, we need to use some 3rd party services, such as Alexa, Snapcasa etc. Problem is that they are too slow. These services add request of the thumbnail to the queue so you are unable to get the thumbnail of the page instantly. What's more, you become dependent on them.   


== Use Case Description ==
== Use Case Description ==
Line 9: Line 9:
* Link submit sites, like [http://www.digg.com]
* Link submit sites, like [http://www.digg.com]
* WEB browsers to display thumbs on home page or bookmarks
* WEB browsers to display thumbs on home page or bookmarks
* Any other sites, which wants to display thumbnail of the page.
* Any other websites, that needs to display thumbnail of the page.


== Proposed Solutions ==
== Proposed Solutions ==
Line 26: Line 26:
</code>
</code>


Having this tag in the page and screenshot of the page in file called thumb.png, we propose that we have thumbnail of out pages and want other services/applications to use it.
Having this tag in the page and screenshot of the page in file called thumb.png, we propose that we have thumbnail of our webpage and want other services/applications to use it.


=== New problem ===
==== Problems ====
There might be the problem, that people will start to abuse this tag. For example, they could upload picture, which is not related with page at all, and say that it is the thumbnail of the page.  
===== Abuse =====
There might be a problem, that people will start to abuse this tag. For example, they could upload picture, which is not related with page at all, and say that it is the thumbnail of the page.
 
===== Every website would have to generate thumbnails =====
Every website would have to generate thumbnails of their pages, which wouldn't be any easier than just websites that need thumbnails doing this.


==== Adoption ====  
==== Adoption ====  
This solution would make a lot easier for developers to add thumbnail of the page function to web sites.
This solution would make a lot easier for developers to add thumbnail of the page function to web sites.


[[Category:Feature Request|empty Template]]
===IFrame solution===
 
Add an attribute to the IFrame tag to make it act like an image of the page.
 
<code><nowiki><iframe src="http://www.example.com/" static /></nowiki></code>
 
[[Category:Proposals]]

Latest revision as of 12:12, 26 January 2011

The idea to assign a thumbnail to the page.

The problem

To get a thumbnail (screenshot) of the page, we need to use some 3rd party services, such as Alexa, Snapcasa etc. Problem is that they are too slow. These services add request of the thumbnail to the queue so you are unable to get the thumbnail of the page instantly. What's more, you become dependent on them.

Use Case Description

  • Page thumbnail in the search results
  • Thumbnail in various community sites (such as [1])
  • Link submit sites, like [2]
  • WEB browsers to display thumbs on home page or bookmarks
  • Any other websites, that needs to display thumbnail of the page.

Proposed Solutions

My Solution

Solution would be to add new type of link tag. As we know, to indicate the favicon of the page, we need to use the following code:

<link rel="icon" href="favicon.ico">

We could use similar code to add the name of the page thumbnail. Proposal would be to use the following code:

<link rel="thumb" href="thumb.png">

Having this tag in the page and screenshot of the page in file called thumb.png, we propose that we have thumbnail of our webpage and want other services/applications to use it.

Problems

Abuse

There might be a problem, that people will start to abuse this tag. For example, they could upload picture, which is not related with page at all, and say that it is the thumbnail of the page.

Every website would have to generate thumbnails

Every website would have to generate thumbnails of their pages, which wouldn't be any easier than just websites that need thumbnails doing this.

Adoption

This solution would make a lot easier for developers to add thumbnail of the page function to web sites.

IFrame solution

Add an attribute to the IFrame tag to make it act like an image of the page.

<iframe src="http://www.example.com/" static />