|
Author |
Message |
phill2003
Junior WebHelper
Joined: 20 Apr 2003
Posts: 1
|
Posted:
Mon Apr 21, 2003 9:16 am (21 years, 8 months ago) |
|
if i wanted to create a db table with 3 gifs on it that were choosable and then when chosen have the gif displayed how would i do it..
i also would like it to be updatable so you can change the gif as and when...
sort of like these emoticons that go next to the thread you get one for each thread and you can change it ??? |
________________________________ "i'll get you butler you see if i dont" |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Mon Apr 21, 2003 9:32 am (21 years, 8 months ago) |
|
Do you want to store these GIFs in the database, or just store references to them?
images:
id,
url |
________________________________
|
|
|
|
drathbun
WebHelper
Joined: 01 Mar 2003
Posts: 69
Location: Texas
|
Posted:
Mon Apr 21, 2003 6:17 pm (21 years, 8 months ago) |
|
phill2003 wrote: | sort of like these emoticons that go next to the thread you get one for each thread and you can change it ??? |
Those aren't stored in the database, just the relative path and filename are. It's much better that way. The page is generated by dynamically setting the image path and filename, then the web server "serves" the image as requested. So to add a new image, you would a) upload the image, then b) insert a row in the database with that image location.
Dave |
________________________________ Dave
Photography Site :: Query Tools Forum :: Weekend Fun |
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.125221 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |