We never created a place to store images that are references in  
Aspects. We were never able to come up with a reason when an aspect  
would need to do this. That's not categorical, it's just we couldn't  
think of one so we put off the problem until it actually presented  
itself. In all the cases we thought of the image is the domain of the  
theme. Different themes will have different look and feels, but if  
aspects are serving up images there no way for the themes to change  
them according to their design.

What colors are in the image and how can they be changed to match the  
theme? What about it's shape and placement?

So, first I would think about if it's really needed in your aspect.  
Perhaps you theme should be looking for conditions and inserting the  
image when needed?

Scott--


On Feb 26, 2009, at 1:33 PM, Jason Gum wrote:

> Hi everyone,
>
> I am creating a custom page in Manakin and am having difficulty  
> figuring out where I should place image files for <img> tags.
>
> Right now my FrontPage.java looks like:
> ...
>     public void addBody(Body body) throws SAXException, WingException,
>             UIException, SQLException, IOException, AuthorizeException
>     {
> ...
>         Division who = front.addDivision("who");
>         who.setHead("Who is using DML?");
>         Para whoPara = who.addPara();
>         whoPara.addContent("Picture here");
>         whoPara.addFigure("VisMenu.jpg", null, null);
> ...
>
> I am unsure where I should place the VisMenu.jpg and then what I  
> should use for a path to get to it?
>
> The final xhtml page is correctly including <img src="VisMenu.jpg"  
> alt="" />
>
> Sincerely,
>
> Jason Gum
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H_______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to