Hassan,
Thank you for your email.
> ? I don't think you understand how images on a web site are served;
> they aren't embedded in a page like text content, they're referenced
> in an IMG tag and fetched separately by the browser/client. You'll
> still have to generate the IMG tag.
>
No I have no idea. Thanks why I am researching and asking for help.
I am using display tag and non of their examples on their website shows
any data being displayed from the database with pictures.
eve
> Date: Thu, 17 Sep 2009 08:54:21 -0700
> From: hassan.schroeder_at_gmail.com
> To: users_at_glassfish.dev.java.net
> Subject: Re: question on images and DB
>
> On Thu, Sep 17, 2009 at 7:14 AM, Eve Pokua <gorgeous65_at_msn.com> wrote:
>
> > If I have 0ver 200 items I have to syn an image on a filesystem- store
> > the image in a folder and point each row of data I collect from the database
> > with an image. How is that possible?
> >
> > To achive your suggestion I have to:
>
> store the name/path/url of the images somewhere, yes. That's the
> way most sites do it. Though if you follow a naming convention, you
> may not even need that.
>
> > If I was storing in a DB, I would do something like this:
> >
> > <display:table name="test">
>
> > <display:column property="image"/>
> >
> > "image" would be a field within the DB which stores the image.
>
> ? I don't think you understand how images on a web site are served;
> they aren't embedded in a page like text content, they're referenced
> in an IMG tag and fetched separately by the browser/client. You'll
> still have to generate the IMG tag.
>
> > Makes it easy to syn.
>
> I have no idea what you mean by that.
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
--_ea30e8bc-4f6f-4c6e-ab5d-0175c1c6b0d2_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hassan,<BR>
<BR>
Thank you for your email.<BR>
<BR>
> ? I don't think you understand how images on a web site are served;<BR>> they aren't embedded in a page like text content, they're referenced<BR>> in an IMG tag and fetched separately by the browser/client. You'll<BR>> still have to generate the IMG tag.<BR>> <BR><BR>
<BR>
No I have no idea. Thanks why I am researching and asking for help.<BR>
<BR>
I am using display tag and non of their examples on their website shows<BR>
any data being displayed from the database with pictures.<BR>
<BR>
eve<BR> <BR>> Date: Thu, 17 Sep 2009 08:54:21 -0700<BR>> From: hassan.schroeder_at_gmail.com<BR>> To: users_at_glassfish.dev.java.net<BR>> Subject: Re: question on images and DB<BR>> <BR>> On Thu, Sep 17, 2009 at 7:14 AM, Eve Pokua <gorgeous65_at_msn.com> wrote:<BR>> <BR>> > If I have 0ver 200 items I have to syn an image on a filesystem- store<BR>> > the image in a folder and point each row of data I collect from the database<BR>> > with an image. How is that possible?<BR>> ><BR>> > To achive your suggestion I have to:<BR>> <BR>> store the name/path/url of the images somewhere, yes. That's the<BR>> way most sites do it. Though if you follow a naming convention, you<BR>> may not even need that.<BR>> <BR>> > If I was storing in a DB, I would do something like this:<BR>> ><BR>> > <display:table name="test"><BR>> <BR>> > <display:column property="image"/><BR>> ><BR>> > "image" would be a field within the DB which stores the image.<BR>> <BR>> ? I don't think you understand how images on a web site are served;<BR>> they aren't embedded in a page like text content, they're referenced<BR>> in an IMG tag and fetched separately by the browser/client. You'll<BR>> still have to generate the IMG tag.<BR>> <BR>> > Makes it easy to syn.<BR>> <BR>> I have no idea what you mean by that.<BR>> <BR>> -- <BR>> Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com<BR>> twitter: @hassan<BR>> <BR>> ---------------------------------------------------------------------<BR>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net<BR>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net<BR>> <BR> <br /><hr />
Upgrade to Internet Explorer 8 Optimised for MSN. <a href='
http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U' target='_new'>Download Now</a></body>
</html>
--_ea30e8bc-4f6f-4c6e-ab5d-0175c1c6b0d2_--