Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 55579 invoked from network); 10 Sep 2004 13:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Sep 2004 13:29:27 -0000 Received: (qmail 88531 invoked by uid 500); 10 Sep 2004 13:29:22 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 88462 invoked by uid 500); 10 Sep 2004 13:29:22 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 88348 invoked by uid 99); 10 Sep 2004 13:29:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [62.111.75.2] (HELO anna.aranex-provider.de) (62.111.75.2) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Sep 2004 06:29:18 -0700 Received: from [192.168.0.40] (p508A09B1.dip0.t-ipconnect.de [80.138.9.177]) by anna.aranex-provider.de (8.12.5-180903/8.12.3) with ESMTP id i8ADT4ui096224 for ; Fri, 10 Sep 2004 15:29:06 +0200 (CEST) (envelope-from johannes.schaefer@uidesign.de) Message-ID: <4141AC5A.8090702@uidesign.de> Date: Fri, 10 Sep 2004 15:30:02 +0200 From: Johannes Schaefer User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: screenshot scaling References: <41418B45.3050404@uidesign.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MailScanner: Found to be clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for your fast replys. I'm not sure if I've got your ideas right. I understood that Ken suggests putting the link and the two resolutions in by hand. Charles, I don't think putting the image-links into the sitemap would change a lot per se. Images are taken from a standard directory and forrest resolves this. And I still would have to specify per image if I want to have an "expansion" or not. What I would like to have is specifying an image in the usual way cool screenshot and have it rendered in the best possible way for the output device: - PDF: use the full resolution at the given size for print, no link to full image needed (applies to OOo, too) - HTML: need to scale the image down *before* it gets to the browser since scaling there gives poor quality. This only needs to be done if the image is too big (maybe set in skinconf.xml or forrest.properties). So for big images create sth like this automatically. view full size For images that fit, just put the original image in. I guess this might be done by specifying a pipeline for "thumbnails" that checks 1. if the image is found in a thumbnail directory: use it and create a link to the full-size image in the images directory (allows for usewr-def thumbnails) 2. else take the image from the images directory a. if the image is to big scale it plus link b. else use it Might this be feasible? How to put the link in: - the pipeline is in Cocoon and delivers the image BUT - the formatting is done in some stylesheet (putting a link to every image is my poor man's solution) Cheers, Johannes Nicola Ken Barozzi wrote: > Johannes Schaefer wrote: > >> 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. > > > The easiest thing is making it possible for Forrest to give the image > named myimage.jpg both as is or as myimage-thumbnail-big and > myimage-thumbnail-small. These sizes should be configurable in > forrest.properties. > Then when insering the image you just need to show the thumbnail one and > link to the full one. > > A hint: > http://cocoon.apache.org/2.1/userdocs/readers/image-reader.html > -- 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