I've problem on how to save an image file that has been edited into the database. Actually, i have to develop a webpage that can interact with the user where user can select an existing image in the database and customize the colour of the picture and also the background colour.
After editing the picture, i have problem to save the edited image in the database. For your info, we're using Flash MX 2004 to change the picture and background colour....
Can someone please (i dont even know where to start on this as i am completely incapable of file or image functions at the moment) help me do this:
i want to write a script that will copy an image from an internet page, then save it in a folder with the speficied filename. The url link is like this : http://ipaddressort/BufferingImage?ImageAdr=123456.
The image is captured by the webcam, of course I can view it in the browser by typing the url, but I want to save it without any popup window or right click, I want to do it in the script.
I have problem with resizing a picture and don't know what the problem with the following code:
dim fs dim sourcefile sourcefile = uploadsDirVar & filename set fs=Server.CreateObject("Scripting.FileSystemObject")
'to access the data of the image dim iwidth, iHeight dim myImg
if fs.fileExists(sourcefile) then set myImg = loadpicture(sourcefile) iwidth = round(myImg.width / 26.4583) iHeight = round(myImg.height / 26.4583)
if (iwidth > 250) then iHeight = (iHeight * 250)/iwidth iwidth = 250 end if
If (myImg.Width > iwidth) or (myImg.Height > iHeight) Then If (myImg.Width / iwidth) > (myImg.Height / iHeight) Then myImg.Resize iwidth, 0 Else myImg.Resize 0, iHeight End If End If
myImg.WriteFile sourcefile set myImg = nothing end if
set fs=nothing
when i run it, the following error occur :
Object doesn't support this property or method: 'myImg.Resize'
Is there a way to save the client side opened asp page as a image file to the server side.That is take a screen shoot of the page and save it as a file preferrable html file or some image file and save it onto the server.
I am trying to find a way to save/copy ASP/HTML generated tables on a webpage as images. In other words, I want users to right click on a table and save it just like the way they would save an image.
Is there any way of programming this behavior without having the user ro download any software like ActiveX?
I would like to reference a remote image, such as http://www.mysite.com/pic.jpg and save it to a local folder such as c:pics . Can this be done with ASP? I have played with many image manipulation components and none of them perform this fuction.
I am creating an web application with IIS 5.0 where the user will be given a facility to view a PDF or word document. The user can edit these docuements. But once the document is edited, I want to save the changes on server side. Is it possible to implement such a feature?
By the default behaviour of IE, if abc.doc is opened and edited, if we try to save the file by entering the path as URL we are not able to save the file on the server. This is because server creates a readonly copy of the file. Please let me know whether such a feature is feasible? Or whether I have to develop my own component using which this might be possible?
I have a main window which has a form in it. Inside the main window there is a button, which when clicked opens a pop window (showModaldialog window). Inside that pop window I have a checkboxes, which user can check. When he is done selecting them, He clicks on "Done", which is of type button.
My problem is when user clicks on Done, I am not able to retreive the values of the check box group. I could have used request object to retrieve the values, but that is functional only when the event is submit.
when we press submit button,it will save to both db1 and db2.Prob2:- How to make when we press multiple submit button it connect to different database. Let say, button submit1 will save to db1,submit2 will save to db2 and so on.
I have some difficulty in stroring uploaded images name in database. Images files are uploaded successfully, but when i want to store images name into database it only contain last file name and stroe only this file name in all images fields into database....
I write search files webpage.when users enter part or all of a file name and asp page send back a list of only the files(that user can click to open files) whose names contain the text they entered.I want to save data about accessing files such as file name ,accessed date of fileto my database(Microsoft Access).I don't know how to write a adding code to do this. Code:
I have gotta a page in which a user can upload his profile (saved in word format). Is there any way that this profile can be stored into the database and not in the web directory. I tried using Scripting.Dictionary.
Currently i have setup a form that takes the users information and drops the info into an access database and displays the info out the way i want it to.
After i take the info, i setup a seperate form to take in the users images of there choice that drops into a directory on my server, which works fine as well. What i am looking for though is a way to take the location of the image and drop that into another database or the same one so i can use it as a link when displaying the information.
I have two tables. ALPHA; fields id (a text field, that contains a string) image (a text field, that contains an url path for a file)
and BETA id (a text field, that contains a string) image (a field to insert an image)
I need to insert in BETA the information of field 'id' and the file that the field 'image' is pointing to. The url path of that file may me inside or outside my domain. For example, if the 'image' field says "pepe.com/image1.jpg", even if the ASP file is not in www.pepe.com domain.
I would like to be able to update an image I have stored in a database by uploading it through a form. The current pages I have now will only add a new entry to the database. I would like the customer to be able to change the image on their index page through the form. How can I change the following code to do that?
I want 2 upload a image and some text to the sql server database. and in anothere page i will retrieve all the fields . so can anybody help me.i am giving u the html source....
I'm building a path making tool, that is i have a network of paths for a park and each section of the path is its own image.
What i need to do is, when a certain piece of the path is clicked, it querys my path database and returns the information for that section of the path to a table.
Im designing in ASP VBscript and database is connected n all but im a beginner, is it feasable?
As well as this i need to be able to add to the table each time a piece of path is clicked, and also take away, like a stack.
AND aswell as this i need a seperate table which adds up the length of all the paths selected (length is in the database).
i wanna check one cell value from database and then if cell value is 0 than put this image in the dynamic table, if it's 1 than put other image to dynamic table, and so on Code:
I have created a website where users can place advertisements and upload complementing photos. I have elected to place the advertiser's contact details and advertisement in 1 table in an Access database and the corresponding photo and Account ID in a second linked table.
Once the photo is inserted as a BLOB, the advertiser is forwarded to the payments page. The upload page has a form with a file field and a hidden field with the Account ID which as been passed on the previous page by a session variable. The website is hosted on a remote server by my web host.
My problem is that the image and the Account ID are not inserted into the database even though the processing page successfully redirects to the payments page. I am new to web programming so I am unsure where my problem lies. Code:
I AM NOT ABLE TO DISPLAY IMAGES FROM ACCESS DATABASE JUST 11 BLACK IMAGE BOXES OF SIZE 400 X 250 Code:
sql="SELECT [IMAGES] FROM ITEMS" rsAuthors.open sql, cnnNorthWind, 3, 3 %> <%Set rsAuthors = cnnNorthWind.Execute(sql) IF rsAuthors.EOF then 'No records found Response.End ELSE 'Display the contents DO WHILE NOT rsAuthors.EOF 'Response.BinaryWrite(rsAuthors("IMAGES")) %> <img src="image/<%=rsAuthors("IMAGES")%>" height="400" width="250"> <%rsAuthors.MOVENEXT LOOP END IF %>
how to create an image gallery using a SQL database. I placed the images in the sql database and I want to display the image and then a caption under the image? Can anyone help me! I can only get it to display the first picture and the first caption? I want it to display all the images with a categoryID of 1.
How do I take an image from <IMG SRC>? Meaning I can not insert the image with the Upload method, I have to take it directly from the <IMG SRC>. Is there a possible way to do that?