Current location: Hot Scripts Forums » Programming Languages » ASP » Selecting image to display via asp form

Selecting image to display via asp form

Reply
  #1  
Old 08-24-05, 04:19 PM
Anessa Anessa is offline
New Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Selecting image to display via asp form

Hello,

I'm putting together an interactive calendar in asp that uses a sql database. Visitors would be able to login and post events via an asp form, which upon submitting, would immediately display on the calendar. One thing that someone that posts would need to be able to do is to select a logo image from a list to display with their calendar posting. (perhaps similarly to how you select one of the Smiles when posting to this forum) Also; they will sometimes need to display more than one logo image. I'm trying to figure out how to do this and am pulling my hair out. Any assistance would be greatly appreciated.

Thanks,
Anessa
Reply With Quote
  #2  
Old 08-24-05, 06:42 PM
koncept koncept is offline
Community VIP
 
Join Date: Oct 2004
Location: Cleveland Ohio
Posts: 1,791
Thanks: 0
Thanked 0 Times in 0 Posts
ok.
1. do you have a calendar already?
2. strreplace....

i am not going to give out a ton of code (untill you get stuck)...just because this one should be a good learning experience, but take a look at the strreplace function.
Reply With Quote
  #3  
Old 08-25-05, 09:16 AM
rrhodes's Avatar
rrhodes rrhodes is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Anessa,

If you are providing a pre-determined list of images in a select box or with radio buttons, then I would set the "value" of those controls to the image name to be displayed, then get those posted form fields (like you do your other fields on the form) and save the image name to the database. Just make sure you combine the image name with appropriate path information when showing in your web page.

If you want them to upload their own images, then that is a different story. You will need to use components like ASPUpload to manage the uploading and saving, and be able to set permissions on your web server appropriately.
__________________
Robert
Gee! Web Tools
Web Content Management / Internet Marketing modules including:
Page Editor - Calendar Manager - News Editor - Contact Organizer - Mail Wizard
Reply With Quote
  #4  
Old 08-25-05, 09:32 AM
koncept koncept is offline
Community VIP
 
Join Date: Oct 2004
Location: Cleveland Ohio
Posts: 1,791
Thanks: 0
Thanked 0 Times in 0 Posts
rrhodes, that is also a good idea
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
form to anyone's email with Image Verification ghostrider632 PHP 1 05-11-05 10:08 AM
Help! Image Display "IF" dayzeday PHP 1 04-12-05 04:52 AM
Php Form + mysql + display data sent needed TheRaider Script Requests 3 10-07-04 02:30 AM
Help with image on form... Adrianaa03 JavaScript 1 10-06-04 08:38 AM
Image display based on URL rjwebgraphix PHP 5 09-09-04 09:02 AM


All times are GMT -5. The time now is 10:24 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)