W Os,

 

I suppose I have to put the images in my web or the web-inf folder

than access as Ed wrote:

 

<display:column>
> <img src="../images/${bpic}"/>
> </display:column>


 

I will try that.  You have all opened my mind and I've learnt a lot 

from your repplies.

 

eve
 
> Date: Tue, 22 Sep 2009 10:39:48 +0200
> From: sg...@gmx.net
> To: displaytag-user@lists.sourceforge.net
> Subject: Re: [displaytag-user] displaying image using displaytag
> 
> > Micheal/ Ibraham.
> > 
> > 
> > 
> > Thank you all.
> > 
> > 
> > 
> > 
> > 
> > But I am still having problems
> > 
> > 
> > 
> > <display:table name="sessionScope.ent" uid="datum" defaultsort="1"
> > defaultorder="descending" pagesize="7" class="tabledata">
> > <display:column property="bid" title="code"/>
> > <display:column property="bname"
> > title="Name"/>
> > <display:column property="description"
> > title="Description"/>
> > <display:column property="colour"
> > title="Colour "/>
> > 
> > <display:column property="bpic"
> > title="Picture"/>
> > 
> > <td>
> > <div style=""><img border="1"
> > src="c:/bapics/<%=(bpic)%>" height="160" width="160" 
> > title="picture2"/></div>
> > 
> > </td>
> > 
> > </display:table>
> > 
> > 
> > 
> > 
> > 
> > I have the string Dock.jpg in an attribute in the table
> > 
> > If I use this:
> > 
> > <display:column property="bpic" title="Picture"/>
> > 
> > the string Dock.jpeg is displayed but not as image.
> > 
> > 
> > 
> > All I want to do is tell the img tag src to display whatever .jpeg is in
> > the bpic attribute
> > to be display as image. Why I'm I having so much problems?
> 
> Hi Eve,
> 
> it seems like you did not understand my first post.
> 
> First of all, this guy loads a url from a db which maps to a server-side 
> resource.
> 
> You are trying to load a url off the server from the client's hdd. This is 
> deemed to work. I have to repeat myself. Your files have to be available in 
> the context or anywhere else beginning with http:// and you have your local 
> harddrive.
> 
> This won't work unless you want to run the server and the client on the same 
> machine. As Ibrahim wrote, you need to pipe the image to the client.
> 
> Mike
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
                                          
_________________________________________________________________
With Windows Live, you can organise, edit, and share your photos.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to