Re: selecting img file extension.
| From: | Justin French | Date: | Tue, 17 Dec 2002 05:06:50 +0000 |
| Subject: | Re: selecting img file extension. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128510@lists.php.net to get a copy of this message | ||
I would definitely store the file type (either extension or mime-type) of
the files.
Justin
on 17/12/02 3:27 PM, Bruce Levick (brucel@ispye.com) wrote:
>
> Sorry for the newbie question.
> I am an artist and entering my pieces into a database....basically all
> that will be displaying will be
>
> Title:
> Medium:
> Date Created:
> and an image (.gif, .jpg, .swf)
>
> I want to know what is the best way to call a specific image type.???
> Should I give each image file extension a column |.gif | .jpg | .swf |
> and set that all these columns to only display when asked??
>
> So for an example case. I have a piece of artwork Called Cheetah.
>
> Title: Cheetah
> Medium: Water Color
> Date Created: 1998
> cheetah.jpg
>
> How do I set up my table so when I add this piece to my databse I can
> select .jpeg extension to true.....so to speak, and leave gif and swf
> false.
>
> My image source might be (i know the coding will be wrong) <img
> src="images/?title? . ?ext?"> (cheetah.jpg).
>
> Cheers
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Justin French
--------------------
http://Indent.com.au
Web Development &
Graphic Design
--------------------