In my humble opinion, I would place the actual images in your web directory
and put the file names into the database so build your image tags.
Sure the db can store the actual image data, but I really believe that the
filesystem is the better medium for the raw files.
Name the image relating to the product ID to keep the many files organized
and unique.
My two cents.
> -----Original Message-----
> From: Gary [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 3:25 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Image in a Template
>
>
> Hi All,
> I am writing a catalog and shopping cart. Our clients want a image on
> the page for the product. The page is a template generated on the fly. I
> could put the images in the db and call it from there, but I don't like
> doing that. Is there another way to put the pic on the page?
>
> TIA
> Gary
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]