[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Showing screenshots on packages.debian.org



Fellow devs,

this week I have opened the doors to screenshots.debian.net which is the 
result of several people wishing for a way to see screenshots of packages 
before installing and running them. Today I have deployed the web 
application on a server that should be handle the load well if it gets 
used by more people and even be linked from other Debian web sites.

The current version can serve thumbnails of screenshots easily. So I 
thought I ask if anyone feels to build that into the packages.debian.org 
website.

Thumbnails of packages are up to 160x120 pixels large. The URL for a 
package's screenshot is:

	http://screenshots.debian.net/thumbnail/PACKAGENAME

Example: http://screenshots.debian.net/thumbnail/fyre

For non-existing packages or packages without screenshots this URLs returns 
a dummy 160x120 image reading "No screenshot available" with a Debian logo 
in the background. There is never a 404 returned so it's safe to rely on 
it.
Example: http://screenshots.debian.net/thumbnail/thispackagedoesnotexist

The thumbnail image could link to screenshots.debian.net for the full-sized 
version, for further screenshots of the same package and the ability to 
upload additional screenshots. I could imagine that the right column of a 
package page on packages.debian.org could be extended by a simple:

<a href="http://screenshots.debian.net/package/PACKAGENAME";>
<img src="http://screenshots.debian.net/thumbnail/PACKAGENAME"; />
</a>

Although anyone is allowed to upload screenshots to screenshots.debian.net 
all new uploads are moderated. So we don't have to fear porn or spam or 
whatever else we don't want on official Debian pages.

If you need further information (e.g. list of packages with screenshots) in 
XML, JSON or via SOAP just let me know. I can hack it in.

Cheers
 Christoph

P.S.: Sorry, I'm not subscribed to debian-www. Please keep me CC'ed.
-- 
A guess is just a guess until you turn it into a pie chart.
Then it's an analysis. (Scott Adams)

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: