Im building an image uploader to be used so that a client can upload images from their desktop to the site.
Is it correct that I have to download the cpshost.dll from microsoft and then
upload that file in a folder named for instance Scripts, so that the form is able to
upload images before moving onto the processing asp page (manageproducts.asp).
using PWS on test machine (NT4 workstation SP6) and everything was fine but cpshost.dll was used in the website we're maintaining, so I idiotically installed it from a Visual J++ disc. now the website works fine but when i navigate to 127.0.0.1 nothings happens. I've checked directory browsing is enabled but still nothing happens!
I'm aware that cpshost.dll was never meant to be used on NT workstations but as I said before the upload functionality works fine, it just seems to have screwed the directory browsing up - and also the code document.referrer equals nothing.
I'm developing a content management system that uses a file uploader. The uploader works fine and uploads the file when using a mac computer, but doesn't upload the file when using a PC. I am thinking this is a path issue??
i having problem to upload file with the file size mention above...
the file detail: -JPG image -1.47MB -2046x1536
I am trying ur code, but when I wan to upload a file that greater than the file size above, it show page cant be display.actually I am planning to upload a video file that around 10MB
I need to use an script that uploads via one of these three components: ASPUpload, SA-FileUp or SmartUpload. If any of you have some recommendations or know upload scripts using one of these components, it'd be great. Unfortunately, I need it to be able to upload huge files on the server (300 megs).
So I've been using ShadowWizard's uploader, but when I try to upload large (>100kb or so) photos, it runs for ages (several minutes) then times out.
Testing with a 700kb file, it takes only a short while to upload to RapidShare (at about 30kbps), but when I try to upload it to the local script, it uploads at about 30 kbps for a while, then drops off to 0 at about 20-30 seconds, although the page doesn't finish loading, and then the script times out, a while later.
EDIT: Oops, shouldn't have an apostrophe there. Seems it won't be removed from the thread title.
I've been having some trouble with a file uploader script, the script times out when running, I have tried extending the default timeout length. I have also tried a couple of other file upload scripts and thay all time out too. I can't seem to find a cause to the problem.
I like the upload script but want to simply upload some txt, mdb, xls and doc files. Do you have a version that allows simply the upload of native docs that does not check for images and size of images?
Also, after I select UPLOAD, the results page show the browse buttons repeated. I would just like to show the results and then a button that hrefs to another asp page, is that possible and how?
But what should I do in order to e-mail the files uploaded ? What I mean is that when the files are uploaded I also want to be e-mailed at the same time.
Originally Posted by Shadow Wizard this will not save non-image files. as for extension, I fear I didn't understand what you mean - you try to save the file with different extension? I disagree. I was able to upload an Excel Spreadsheet with no trouble at all.
I found this Shadow Uploader on here, and i see that you can have an email sent, but im having troubles understanding how the email bit works All i want is for an email to be sent to me saying 'Someone has uploaded an image' and the text from the 'name' field.. Normally i would try and do this for myself, but the site needs to be running by Tuesday and ive got no more time to much around with it.
I am having trouble with my file uploader. I do not program a lot of .asp and its a bit confusing. As well, I just took over the development on this webpage so the code is not my own.
The file uploader worked before but now that I have the webpage put to a test site it doesn't. Would this be a reason why I cannot upload? i am also having trouble accessing the database, which makes it even harder for me to see whats hapening to the file.
When I upload it says that it uploaded successfully but when I see the webpage the photo isn't there. Would you like to see the code for the uploader?
I have a login page where user enters his username password i verify if he is a valid user or not if he is i redirect him to a diff page and in querystring i transfer 3 variables ok I get the 3 variables on that page then i have 3 radio buttons when user selects one of them
i display the company name and they upload the file and some stas for the company the client requirement is when the user submits the form it should be done by radio button not a submit button for uploading of file i have used shadow's code here is my problem if the user doesnt upload a file it gives me an error saying :
Microsoft VBScript runtime error '800a01a8' Object required: 'm_Request' /ERP/onlineerp/ShadowUploader.asp, line 27
I have installed aspSimpleUpload and can upload files, up to 8 megs. However, I need to be able to upload any file size without any restrictions. Are there any file uploaders that I can use that will solve this problem?
i need to find some scrit to uploadimages but with multi elements form i mean i need to put some textboxes and compo boxes with the uploading form to process the data entered in the text boxes and copbo boxes something = the posting new thread u can write ur thread and choose file to attach hope it's clear.
I am trying out the ShadowUpload script for the first time for uploading photos etc. I place the ShadowUpload script, upolad page that goes with the script in the wwwroot and then made a folder with full read/write permissions enable called uploads. When I tried to upload a large picture, it gives me the expected error Code:
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.
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); }
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...
I'm working on a project where I'm suppose to upload a image to a server. The uploading works fine but when I want to change the image I uploaded to another image I can't get the filepath of the old image to show in my "filefiled"....is it possible to set a "value" where I can retrieve a filepath in a form if the input type is "file"?
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)
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.
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.
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?
What I need to do is to get the id of an image and set it to a variable that I can use throughout the page. What I'm trying to do is see how many images I have on a page, place there id values into an array and then based on their ID values call the function to change the image.
See i have the same image being generated on some rows that are brought into a database. They a named with a number after each ie:image1 image2 and so on but because I have other elements it would take too long to check through them all.