Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 30 images, what's the best way?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 October 2003 :  11:59:34  Show Profile
I have 30 images that I want to use on my site, one for each time I make a post. Now there are two things I need to do
1- add those images to the database
2- find a good way to select one image

As for number 1, I was thinking about using a seperate table in the database, each image would get an image_id, the image's file name, and a one or two word description. One extra number field would be added to the TOPICS table, and then when I make a post, the image's ID would be stored in that new field.
When the topic is pulled from the DB, the image ID stored with the topics would get linked to that in the images table and the image name and description would get retrieved then too.
Am I correct to say that that's the best way to go about it?

Now for number 2... Since there are a lot of images, I was thinking about using two select boxes. But then I wouldn't be able to see the images. How would you solve this?

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 October 2003 :  12:59:17  Show Profile
Sounds suspiciously like the Message Icons Mod to me ...


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 10 October 2003 :  13:00:10  Show Profile
Add a field to your images table for a thumbnail filename, then create a popup which displays thumbnails in a pattern similar to the smilies on the post page - a grid/table pattern. Click on one, and it passes your selection back.

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 October 2003 :  13:30:02  Show Profile
Or, you could display the image next to the select box and use javascript to change it when a visitor selects a different option.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 October 2003 :  13:57:03  Show Profile
it won't be like the message icons MOD, it'll be to show the mood I'm in I was thinking about changing it site-wide by adding it somewhere on the left side of the pages, but I figure it's more "fun" to show the mood I was in when I posted something.

As for the pop-up, I think that might work (no thumbnails needed as the images should only be approximately 20x20px) but then I might as well do what MeTV said.

Thanks guys
Go to Top of Page

LinkinMODE101
Junior Member

116 Posts

Posted - 10 October 2003 :  15:17:48  Show Profile
hey frutzle...it's not letting me e-mail you, but i already changed the little "POWERED BY:" thing, so please unlock my topic now.

www.latearrivalmusic.com/forum/
Go to Top of Page

Bookie
Average Member

USA
856 Posts

Posted - 10 October 2003 :  15:37:28  Show Profile  Visit Bookie's Homepage  Send Bookie an AOL message  Send Bookie a Yahoo! Message
I added this to my blog at http://www.bookfamily.net/blog/ You can see how I've used the mood icons. That info is stored in a database when I post each entry. Here are a couple screen shots. The "Mood" link pulls up a grid in a new window that shows me the icons.

http://www.bookfamily.net/mood1.gif

http://www.bookfamily.net/mood2.gif

Hope that helps!

Edit: Changed pictures into links.

Participate in my nonsense

Edited by - Bookie on 11 October 2003 11:40:14
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 October 2003 :  15:54:04  Show Profile
LinkinMODE101, sorry about not unlocking your topic sooner. My host seems to be having quite some problems today so it's possible that I never got your email.

Bookie, that's the other option I was considering. It would cut down on bandwidth if the images don't get loaded each time... I've found those same icons as you're using, but they're a bit too big for my liking, so I think I'll give it a shot and make some myself.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07