Interactive Image Within Form
I have a form with severakl fields and a picture of a human being. I want to user to be able to mark/shade any section of the body they want and add notes next to it.
When they submit the form, thhe image must be added to the DB.
Is this possible - if so, how? Any demos, examples, guides?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Interactive Map
I have a plat map of a large real estate development that needs to dynamically show available properties. I can get the properties into a database fine, however, my main problem is knowing how to get the "house" to appear in the right location. What is the best way of finding out the absolute position in relation to the map? I believe where the map is on the page is crucial, too. Also, is there any software that can help me?
Interactive Webpage
I have created a webpage that allows a user to enter information in a box. The idea is that the user could click on the submit button under the box to send info. to another webpage for future access. However, I understand that I need ASP software for this to happen. I have tried to download ASP from the net. However, my p.c. would not accept the download. Can someone please advise 1) How to create a simple interactive webpage that allows a user to input and submit a value which can be stored and viewed at a later time? 2) The easiest way to download the necessary software to a p.c.?
Form Image
I have an image as input for my form. I have some code extract some value from that form using a query and sets a cookie equal to that value.I need to have that image as a link to another page. When I put <a></a> tags around it, the query doesn't collect a value.
Using An Image To Submit A Form
I have four images, lets just call them A, B, C,D I have a hidden value called "area" When the asp page loads, it gets the value of area (the form submits to itself) What I want to do is: when you click on a image A area = "A" submit form to itself Is this possible?
Form Upload Image
Currently I have a simple form where users input and update their data. This works fine. However, we now have a need for users to be able to upload a picture to their profile. I have managed to successfully do this, however, once the picture is uploaded I need it to be automatically resized and renamed in the format "username.jpg". Then I need the path of the picture to be stored in the database with their record so that when it is opened the picture can be shown also....
Upload Image Form
I need to create a upload image form,but this will need check image size, width and height, and don't use any extra COM. Is it possible?
Web Print Form Image
My ASP.Net page displays an image file of some application form, legal size. When I choose to print the page, only parts of the form got printed----missing the fields at far left and bottom. It might be possible to adjust the image size when it is saved. But would it be possible to do that from the ASP.Net page?
Form To Email Including Image
Does anyone know of a form to email ASP script that allows the user to attach an image file from their computer to be sent as an attachment to the email, along with other data collected from the form? I've seen this on sites particularly for recruitment allowing resumes to be attached along with personal info.
Form Won't Work With An Image Submit Button
I have a problem with my login form. I'm using a piece of graphic as a submit button. The problem is that is seems that i can't submit anything when i'm uisng this solution. If i replace the image submit button with a standard button then there is no problem....
Cannot Use Request.Form In Image Uploading Pages
I have downloaded a Image Upload componet and incorporated it into my existing code. It is working great. My issue is that I cannot call a field from another table in SQL. On insert.htm, I can do this: ptrack = Clng(Request.QueryString("tracknumber")) And I can get the tracking number of the specific client. If I try to do this in insert.asp, it doesn't work. I have read other posts regarding this and I still cant get it to work. Like I mentioned before, it is a tracknumber, so its a numeric. Code:
Multiple Form Buttons, How Can I Bind Image With Them
Well i have pictures in database and i display them all on the page. While i display them i put a button with them each. So that they can be deleted. But the problem is that. as i put the button in a loop while displaying images. The name of the button is same and when i click the button to post the values to the next page where i should have the script to delete image. All the values of all the images go to the next page. I want to bind that particular image with that button, so that when one specific button is clicked only the id of the picture binded with that will go to next page. I can do the job by having a delete link with each image and posting the value to other page. But i have to use the BUTTON to do that. But dont know how to use it.
Javascript Form Image Replacement Breaking In ASP Classic
I skinned an LMS (Learning Management System) using CSS and Javascript. The forms were skinned with niceforms.js, the site works perfectly in FF, IE 7 and IE6 but in ASP the javascript doesn't replace the images with the skinned elements. All the javascript functions initialize but the images are not placed in. Code:
Display An Image From Access, Stored As Location Name Not Actual Image.
I have a client who has had a ASP site with an Access database for several years. It stores information for the used cars on his lot. I have stored text in the database that points to the location of the image for each record. Each record will have a thumb image that is supposed to display in a list of vehicles available then the user can select an item from this list and a new page displays with the information and the regular size image. So far everything has worked fine exept for the display of the images which are stored in a separate directory called veh-photos. All I get are image place holders. I am using Dreamweaver 2004 and and Access 2000 for the database. Following is the code to list vehicles: ....
Open Image In 'Kodak Image Edit Control' With Web Browser
1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page. 2.This '.tif' type image can be shown better with 'Kodak Image Control'. 3.To have this 'Kodak Image Control' on my code page I just add it's ..ocx to tool box and then drag it from 'Toolbox' to the page. 4.Now after dropping this control to the code it's type is getting changed to 'object' instead of type 'ImgEdit'(and I think this is the reason I don't get correct result). 5.On one button's 'Onclick' event I'm calling a javascript function with which I'm setting a 'Path'and'Display' property of a control. 6.And want to show a image at location -- '..MFTDRCMF919685173-62.tif' which get shown in new browser window but could not get shown in that particular control. That means the path is correct, then what is the problem? For better understanding of problem I'm pasting a following code which I've tried up till now...... .................................................. <%@ Language=VBScript %> <% OPTION EXPLICIT %> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <SCRIPT LANGUAGE=javascript> <!-- function showpic() { var path; path = document.frmtif.path.value; alert(path); document.frmtif.ImgEdit1.Image =path; document.frmtif.ImgEdit1.Display; window.parent.self.open(path); } //--> </script> </HEAD> <BODY bgColor=#ffe4e1> <form name="frmtif"> The Image <P> <OBJECT id=ImgEdit1 style="WIDTH: 409px; HEIGHT: 218px" type="ImgEdit" align=left border=1 classid=clsid:6D940280-9F11-11CE-83FD-02608C3EC08A name=imgtif></OBJECT> <input type="hidden" name="path" value="..MFTDRCMF919685173-62.tif"> <input type="button" name="show" value="Show" onclick="showpic();"> </P> </form> </BODY> </HTML> ..................................................
Displaying Alternate Image When Image Source Not Found
I am creating a dynamic ASP VBScript page, which gets data from an Access database. In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database. I think what I am trying to get to is the following: If file exists (using URL from database to get location of image file) thendisplay image using the url from the database as the image source else display default image - hardcoded in program endif I have had a go and come up with the attached but I get an error with my if statement. <% Dim objFSO Set objFSO = Server.CreateObject("Scripting.FileSystemObject") If objFSO.FileExists (server.mappath("<%=(Recordset1.Fields.Item("ImageLocation").Value)%>")) Then <img src="<%=(Recordset1.Fields.Item("ImageLocation").Value)%>"> Else <img src="images/awaitingimage.jpg" width="243" height="239"> End If %> I get "The page cannot be displayed" with the following error: Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')' /living_space_root/TMP5zdpv2l4js.asp, line 58, column 66 If objFSO.FileExists (server.mappath("<%=(Recordset1.Fields.Item("ImageLocation").Value) -----------------------------------------------------------------^
Displaying Alternate Image When Image Source Not Found
I am creating a dynamic ASP VBScript page, which gets data from an Access database. In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database. I think what I am trying to get to is the following: If file exists (using URL from database to get location of image file) then display image using the url from the database as the image source else display default image - hardcoded in program endif I have had a go and come up with the attached but I get an error with my if statement...
Show Image From SQL Image Field?
Here is my code. I'm using 2 pages. (Page 1) blob.asp <% set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_blob_STRING Recordset1.Source = "SELECT AboutPic FROM Elizabeth.GF_AboutUs" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 3 Recordset1.Open() Recordset1_numRows = 0 %> <% Response.contentType = "image/jpg" 'Recordset1.Fields("AboutPic") <---Tried both methods size = Recordset1.Fields("AboutPic").ActualSize blob = Recordset1.Fields("AboutPic").GetChunk(size) Response.binarywrite(blob) %> (Page 2 Show the Image) <% Dim urlString urlString = "?" & Request.QueryString %> <% Another rs to show other information as text from the same table %> <body> <img src="blob.asp<%=urlString%>" width="194" height="256"> </body>
<%=request.querystring("image")%> Image Won't Display
This worked fine for enlarging my images until i put it onto a secure server, anyone know how i can fix it ??? just comes up with the standard box with a red cross in it .. and the url when i click image properties says: http://url/images/<%=request.querystring( which is only part of the code)
Merge An Image Into Another Image
I'm looking for a simple way to merge an image into another image.What i have is a screenshot uploader, and i want to make it so that when they upload the SS, the script will automatically merge a small copyright type image onto the bottom right of the picture.
How To Retrieve Form Values, When Form Elements' Names Are (almost) Unknown?
I have a form that is dynamically generated since it is populated with values retrieved from a database. The form can of course also be submitted, which is where I run into some problems. Since I never know in advance what the length of the form (or for that matter what the different elements' names and values) will be I don't know how to write the code in "receive.asp" to retrieve all values from the form correctly without excess use of "request.....". I shouldn't have to write requests for every single potential element name that is stored in the DB. Please note that the form can sometimes also contain radio buttons and check boxes, even though they are not present in this short example Code:
File Form Type And Request.Form Problem
I have a form as follows: <form action="dropboxsubmit.asp" method="post" enctype="multipart/form-data"> <input type="file" name="FILE1" size="30"> <input type="text" name="def" value="0" size="10"> etc..... and can't get my asp to recognize data in other form input boxes using Request.Form Any thoughts?
Javascript Form Validation - Form Action To Another Page
In my prototype asp page (with no javascript and no password validation, I have a registration form with the following action: <form name="form" method="post" action="RegDetails.asp"> This works fine, the form details are collected by RegDetails.asp I am attempting to include javascript server side validation for the pasword, which obviously requires password and password2 fields (to be verified). I have used the script available at: http://javascript.internet.com/forms/val-pass.html It works fine in a new blank page with the form action: <form name=myForm onSubmit="return validatePwd()"> The final stage in this javascript demo form displays an alert box: else { alert('Nice job.'); return true; When I change the first line of my original form to: <form name=myForm onSubmit="return validatePwd()"> how do I get my original action of - action="RegDetails.asp" instead of this alert box?
Merging Upload Form And Email Form
Im having problems with my form, separately both forms work perfectly, but having problem sending the email once submitted, however the upload fuction is working fine. The message im getting is, Request object error 'ASP 0207 : 80004005' Cannot use Request.Form /forminfo.asp, line 42 Cannot use Request.Form collection after calling BinaryRead. Heres the script Code:
ASP Repeating Form Fields In An Email Form
Would anyone be able to give some guideance in ASP code as to how I would repeat a section of input fields in a form based upon the number of guests that are attending an event? Basically, what needs to happen is if 3 guests are attending, I need the Name, address, city, state fields to repeat so they can be filled in with information. Then all of the information from the whole form is submitted which returns an email to the administrator of the event.
Sending Email With Values Form A Form
<%@Language=VBScript %> <%option explicit%> <% MESSAGE = (Request.Form("type")) MESSAGE=MESSAGE & vbcrlf & "Name" & (Request.Form("name")) MESSAGE=MESSAGE & vbcrlf & (Request.Form("address")) MESSAGE=MESSAGE & vbcrlf & (Request.Form("handphone")) MESSAGE=MESSAGE & vbcrlf & (Request.Form("phonenumber")) MESSAGE=MESSAGE & vbcrlf & vbcrlf & (Request.Form("comments")) MESSAGE=MESSAGE & vbcrlf & vbcrlf MESSAGE=MESSAGE & "____________________________________________" Set objMail = Server.CreateObject("CDONTS.NewMail") objMail.From =Request.Form(email) objMail.To = "icepricessa@hotmail.com" objMail.Subject = "Business/Career Enquiries" objMail.Body = ""&MESSAGE&"" objMail.Send Set objMail = Nothing %> but somehow i'm not able to send the mail....
Submit Form Data And Refresh Form
I have a series a forms that submit data to different tables in a database. As it stands, when a user completes FORM 1 and clicks the SUBMIT button, the FORM 1 data is submitted (action = form2.asp, method = post) to ASP code at the top of FORM 2 (request.form("form1 field name") etc...), and submitted to the database with SQL code, also at the top of FORM 2(INSERT into...). Hence the submit button on FORM 1 directs the user to FORM 2, and submits the data which is exaclty what I wanted. However, I now need the users to submit multiple sets of data with FORM 1, and direct them to FORM 2 once they have finished using FORM 1. Most importantly, I need to pass a few parameters from FORM 1 to FORM 2, and have these parameters submitted to the database. My main problem is getting a fresh form1 after submiting the same form1, in preparation for anoter set of data using the same form. Basically, the database has 'one to many' relationship tables. Form1 and form2 are both populating the 'many' tables, so that each form needs to be filled-in several times while retaining the key field of the 'one' table. At the moment submiting form1 takes me to form2. Is is possible to submit the data to the database, get form1 back again to submit more data, as many times as required, then click another button to load form2 when the user is finished with form1? Can anyone please give me some pointers? or at least explain the concept of what I need to do. I am a novice and it's taking me a while to get to this stage. Any help will be greatly appreciated. Is it possible to post FORM1 to itself and insert the data (i.e. place the request.form at the top of FORM 1) If so, how do I direct users to FORM 2 while retaining my parameters?
Loop Form - Extract Display 'value' As Well As Form Value?
While I can extract the option value from the following: <Select name='Keystring' MULTIPLE> <option value='1' name='status'>Pending</option> ..... </select> I cannot seem to extract the corresponding 'display' value when I do a For...Next Loop: for each keystring in Request.Form("Keystring") keystring=request("keystring") Next How do I aslo get hold of that 'display' value eg 'Pending'...is it possible?
Form And The Form Validation In The Same Page
I have a simple form to accept two form fields and display the values entered on pressing the submit button. The following is the form I have created to accept the two entries and display the form fields on pressing the submit form. It does not work can somebody please correct the code or provide a simple equivalent code where I can have the form and the validation and usage of the form values in the same ASP page. Code:
Form To Form Data Transfer
I am a new programmer seeking a right way for transferring data between forum to forum, as i am creating a site wich have a page keeping 20's of server controls like drop down list and text boxes the value of ddl2 changging on change of ddl1 and displaying its corresponding value in text box and i have 10 rows in this way and i wanna display all selected values of server controls in next page as report.
Form Field Form Submit
I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works fine, however, when the checkbox is only field that has been modified/clicked the form doesn't always submit. When it does work, a Stored procedure is passed form variables and updates to the db are made. When it doesn't, its as if the form wasn't submitted, it reloads and resets the page, but the stored procedure isn't triggered.
Passing Info From Form To Form
I have an html form where a serial # is entered and goes to an asp page to determine wether it is a res or comm number, then directs to another form where they can finish entering info to register the serial number. I want the second form to display the serial # entered in the first form. How do I do that??
Passing Form Data Within A Form
I am trying to create a form where the user can check a box within a form and the address will fill in automatically from a previous address in the form, without submitting the form.
Request In Form Enctype="multipart/form-data"
I need to get some Request value from a Form... but this form is enctype="multipart/form-data" (to upload files) and I if I use the standard syntax Request("nameField") I don't get any value.
Image
I need to resize images to a fixed width. How can I hold the aspect ratio?
Image Not Available
I need to verify if images exist and all I have are the URLs to the images,therefore using the FSO is out of the question. Is there an easy way to check http://www.thisdomain.com/images/03245.jpg and see if it exists.If not,I'd like to show an "image not available" graphic instead.
If Image Is There
how can I check weather a image exsists e.g. if xtra/img/v_.jpg exits img src=xtra/img/v_.jpg else img src=images/awaiting.jpg endif
Image
I am looking to store images within my database. I would like to be able to store the paths, within my tables so that I can set a pointer to the externally stored image, that I can pull my image from and place on an asp.net page. How would i go around doing this, is it as simple as taking the file directory and commiting it to my table?
Upload Image
I've been trying for a while now to write a page that uploads an image to a file. Does anyone have a really simple example that I can start with. I have searched the net but only found complicated examples.
Image Properties: How To Get,
I am wondering if it is possible to get more information on files then just name, date, size etc.. Specific, I want to know what dimension (x and y pixels) an images has. Can this be done by ASP. Do I need a component? Are there free components out there?
Insert An Image
I have a website I am working on that I did not create. It is ASP and SQL based. There is a content management system created using ASP and saving in the SQL server database. A user can enter a news article into a big text box/area, and choose to add an image. The text and image are stored in the database via ASP and pulled out to the website via ASP. The image shows up in the website to the top left of the article. I need to make it so the user can enter an image where their cursor is in the paragraph (like a word document) and have it also show up there on the website. Any ideas?
Image Size
I am having a problem with this code. The problem I am facing is that the first image is displayed in its original size. But when I click the next button, the next image not displayed in its original size, but being displayed as 100 x 100 pixels, same goes to the 3rd picture and so on. Code:
Image Question
I have a very simple image basically a box with four colour coded sections - for underweight, healthy weight etc - is it possible to put a line through the image based on where the current users weight falls? or an X or some kind of marker?
Uploading Image
i know that this thread allready exists buti still don't understand what to do ... i'm using microsoft frontpage and access database and would like to upload image file to access ... so ... it looks like that: i have one page - on that page there is an upload form which leads to another ASP page ... on next page i would like to call that form from the previous page and then store it to the database (if it's possible i would like to do it without any software - because i'm not the owner of the server) ... Code:
Image Display From DB URL
I have some error in displaying Image in the fields here is the Code: <tr class="productListing-<%=even%>"> <td class="productListing-data"> <img src=""" & <%=rsProducts("product_image")%> & """ width=""20"" height=""20""/><br /></td> <td class="productListing-data"> <a href="?mod=product&cat_id=<%=cat_id%>&product_id=<%=rsProducts("product_id")%>"><%=rsProducts("product_name")%></a></td> <td class="productListing-data"> <%=rsProducts("manufacturer_name")%></td> <td class="productListing-data"> <%=strCurrency%> <%=RoundNumber(rsProducts("product_price"))%></td> </tr> Where is the error ....
Display Image
I'm trying to display an image which is stored in a database, followed by some other information, but I'm having some issues. It's stored in an access database as an OLE object. The code I've got right now is: <% Response.ContentType = "image/gif" %> <img src="<%= Response.BinaryWrite(rs("ItemImage")) %>"> The error message I get displayed "The image cannot be displayed because it contains errors" I also tried it like this: <% Response.ContentType = "image/gif" %> <img src="<%= rs("ItemImage") %>"> which didn't display any errors, but also didn't display the image. Any ideas where I'm going wrong with this?
Upload Image
I am handling a module using ASP3.0 which has to upload an movie clips of size 1 mb or 2 mb. i have a code which upload only files or images....
|