forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Palmer" <char...@dspdesign.com>
Subject Re: screenshot scaling
Date Fri, 10 Sep 2004 12:17:01 GMT
+1

This is an issue that I am also going to have to deal with as I try to
migrate my OOo manuals to Forrest. I can link to an image file, which OOo
can scale to suit me, but the chances are that the image size will be wrong
if the same image file is referenced in a Forrest document. You might want a
smaller image in the HTML, but still want to be able to view the image at
the full resoution (think: screen shots).

Now, if images could be referenced using the site: mechanism as hrefs  (<img
src="site:images/screenshot">), then you could control how images were
rendered with something like this (in site.xml):

<images href="full-size-images/">
    <screenshot href="ss1.bmp" width="100" height="60" expand="Click to view
this screen shot full-size"/>
</images>

The height and width attributes limit the size when viewed in the main page
(simply pass the attributes through to the HTML <img> tag which will allow
the browser to do the scaling), and if the expand attribute is present then
render the image something like this:

<a href="full-size-images/screenshot.html">
   <img src="full-size-images/ss1.bmp" width="100" height="60"
   alt="Click to view this screen shot full-size" />
</a>

No doubt a few details missing but you get the idea. What do you think?

Charles Palmer






----- Original Message -----
From: "Johannes Schaefer" <johannes.schaefer@uidesign.de>
To: "forrest" <user@forrest.apache.org>
Sent: Friday, September 10, 2004 12:08 PM
Subject: screenshot scaling


> Hi!
>
> Has anybody a solution for showing full resolution
> screenshots (say 1024x768)?
>
> Scaling the screen down with "width" and "height"
> gives horrible quality. Putting the original in
> gives horizontal scrolling for all the page
> (which makes text almost unreadable).
>
> What I would like to have would be kind of a high-
> quality thumbnail in 640x400 which is a link to the
> full resolution image. This should be done
> automatically within forrest/cocoon.
>
> Cheers,
> Johannes
>
>
>
> --
> User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
> Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
> Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 *
> D-81825 München
> www.uidesign.de
>
> Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
> www.user-interface-tuning.de
>
> Attraktivität von interaktiven Produkten messen mit
> www.attrakdiff.de
>



Mime
View raw message