Hi Stephen,

We've put our images in 
[dspace-src]/dspace/modules/xmlui/src/main/webapp/themes/[theme_name]/images.  
The image src would be '/themes/[theme_name]/images/[filename]'  (It looks like 
you could tack '/themes/[theme_name]' onto the front of your spec to get it 
working.)

We've simply typed in the HTML code we wanted to show up, since we won't be 
altering it in ways that XSLT would make easier.  So our code to include the 
banner is simply:

<a href="http://www.unm.edu"; id="unm_logo"><img  
src="/themes/Lobo/images/unm_header_title.jpg" border="0" alt="The University 
of New Mexico" width="387" height="22"/></a>

B--

>>> On 9/12/2011 at 7:44 AM, in message
<[email protected]>, "Stephen X. Flynn"
<[email protected]> wrote:
> Hi all,
> 
> At the College of Wooster we are trying to display a linked image on our 
> dspace test instance front page (http://drcwooster-test.ohiolink.edu)
> 
> This is the XSLT I put in my template.xsl themes file.
> 
> <a>
> <xsl:attribute 
> name="href">http://drcwooster-test.ohiolink.edu/handle/123456789/3</xsl:attri
> bute>
> <img>
> <xsl:attribute 
> name="src"><xsl:text>/lib/barn.jpg</xsl:text></xsl:attribute><xsl:attribute 
> name="width">510px</xsl:attribute></img>
> </a>
> 
> This is the HTMl that it produces:
> <a href="http://drcwooster-test.ohiolink.edu/handle/123456789/3";>
> <img src="/lib/barn.jpg" width="510px" />
> </a>
> 
> FTP path
> /local/local/dspace/webapps/xmlui/themes/wooster/lib/barn.jpg
> 
> However this is what it looks like in the web browser.
> 
> 
> Does anyone have a definiate answer on how to embed a simple image and where 
> to place the image file in your dspace instance FTP directory?
> 
> 
> 
> ----
> Stephen X. Flynn
> Emerging Technologies Librarian
> Andrews Library, College of Wooster
> 1140 Beall Ave.
> Wooster, OH 44691
> (330) 263-2154
> http://www.sxflynn.net


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to