forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: how to add a credit image to my forrest pages?
Date Tue, 08 Jul 2003 12:48:02 GMT
On Tue, Jul 08, 2003 at 08:35:52AM -0400, Robert P. J. Day wrote:
> 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.

Ah yes, so it does :/  Although that shouldn't break anything, as the
blart.jpg.jpeg file should also exist.

--Jeff


> rday
> 

Mime
View raw message