Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 33563 invoked by uid 500); 8 Jul 2003 11:28:03 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 33547 invoked from network); 8 Jul 2003 11:28:02 -0000 Received: from grunt26.ihug.com.au (203.109.249.146) by daedalus.apache.org with SMTP; 8 Jul 2003 11:28:02 -0000 Received: from p1475-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.139.205] by grunt26.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 19ZqdZ-0000pn-00; Tue, 08 Jul 2003 21:27:58 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 19Zqiq-0000um-00 for ; Tue, 08 Jul 2003 21:33:24 +1000 Date: Tue, 8 Jul 2003 21:33:24 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: how to add a credit image to my forrest pages? Message-ID: <20030708113324.GE3104@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, Jul 08, 2003 at 12:35:17AM -0400, Robert P. J. Day wrote: > > i'm at a loss as to how to add an additional credit image and > link to my pages. > > in my skinconf.xml file, i can see the format for adding the > credit for the "built-with-forrest-button", and i want to add, > next to that, a "powered by linux" jpg file that i downloaded. > > i've made note of the project images directory, and i've tried > about half a dozen different combinations to get that jpg file > to display, to no avail. > > what's confusing is that the forrest graphic is not part of > the "src" tree -- it's pulled out of the forrest home directory, > so i can't use that as an analogy. Anything you put in $PROJECT/src/documentation/resources/images/ should be available with an 'images/' prefix. > what is the proper way to add a new credit graphic? which > is the right directory for additional images? i've tried both > the resources/images and skin images directory, and neither > seems to work, and i've run out of ideas. Hmm, works for me. Have you got the extension right (.jpg, not .jpeg)? I've just: - Created a seed project ('mkdir /tmp/fs ; cd /tmp/fs ; forrest seed') - Added an image: src/documentation/resources/images/add.jpg - Edited src/documentation/skinconf.xml and added Built with Apache Forrest http://xml.apache.org/forrest/ images/add.jpg 88 31 - Run 'forrest' to rebuild. > rday > > p.s. the initial forrest.properties is also a bit confusing > in its choice of names. the "project content" directory is, > by default, src/documentation, despite the fact that there is > a lower-level directory whose name is, in fact, "content". Yes, it's an unfortunate accident of history. Perhaps we should fix it for 0.5, since we'll be breaking everyone's sitemaps anyway.. --Jeff