RE: [PHP] Image in a Template
| From: | John Huggins | Date: | Tue, 13 Feb 2001 20:26:57 +0000 |
| Subject: | RE: [PHP] Image in a Template | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39481@lists.php.net to get a copy of this message | ||
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:deadfred@2sie4.com]
> Sent: Tuesday, February 13, 2001 3:25 PM
> To: php-general@lists.php.net
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>