forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert P. J. Day" <rpj...@mindspring.com>
Subject Re: how to add a credit image to my forrest pages?
Date Tue, 08 Jul 2003 12:35:52 GMT
On Tue, 8 Jul 2003, Jeff Turner wrote:

> On Tue, Jul 08, 2003 at 12:35:17AM -0400, Robert P. J. Day wrote:

> >   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
> 
>     <credit>
>       <name>Built with Apache Forrest</name>
>       <url>http://xml.apache.org/forrest/</url>
>       <image>images/add.jpg</image>
>       <width>88</width>
>       <height>31</height>
>     </credit>
>  - Run 'forrest' to rebuild.

arrrgh!  after beating on this for a while, i finally took a look at the 
page source.  where i had referred to the credit file "blart.jpg", forrest
had transmogrified this to "blart.jpg.jpeg".  i'm not convinced that this
is an intuitive thing to do.

rday


Mime
View raw message