Hi,
  
 I'm following the "Modifying a skin" chapter from the Admin Guide to create a new skin (
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins). I've created a new page, attached an image to it ("myfile.jpg"), added the XWiki.XWikiSkins class to it and overrode some .vm files. I just don't know how to refer to the attached image ? I've tried several things :
   
 #set($logo = $!attachmentpage.getAttachment("myfile.jpg"))
#set($logo = $!doc.getAttachment("myfile.jpg"))
#set($logo = $!prefdoc.getAttachment("myfile.jpg"))
  
 Even some
#set($logourl = $prefdoc.getAttachmentURL($logo.filename,"download"))
 
 But when I use the <img> tag I have an empty src attribute 
 <img src="$!logourl" alt="XWiki"/>
 <img src="$!logo" alt="XWiki"/>
  
 Do you know what I am doing wrong ?
  
 Thanks,
 Antonio