I have a problem with file upload... Im trying to upload two images into sql database.. First i tryied to upload pictures on the single web form..
Everything worked fine, but now I have 2 web forms where Im trying to upload images on the both pages and the problem is that i can not upload all of the pictures i choosed... Some of the images uploaded no problem but on some of them show up server connection lost can not connect to server..
I want to upload images in to a folder in my project and save the URL in the database.
When you add a record into my database you provide title, date added and some other details and there it a file upload control which you browser to a image and it saves the image to a folder in my project, it all works, the record is added and the image is uploaded into the folder, but the problem I have is that there is no link from the record to the image, there is no URL path saved in the record. How do I save the image in the folder and save the URL of the image to the record?
I'm using details view to insert the records and using grid view to view the records.
how to upload images to server(application/images folder) and retrive(display) from and on client PC for asp.net. its just for uplaoding logo directly to server folder and retriving from server to client. i am not getting server path on client pc for image.
I'm looking for a way to have user upload as many images as they want (perhaps via drag and drop) or dynamically adding more upload box.I thought statically fixing (say 6) HTML upload input box is slightly limiting and the user have to click "Browse" button (6 times in this example) and navigating to the folder to pick the file.What is the best practice to achieve this so users find it easy to use? Perhaps with some AJAX magic?I also wouldn't mind having the user click "Upload more" to reveal (say 6 more) HTML upload input box.
im trying to implement a gallery of sorts where the usercan view and upload images (he can only upload once signed in). Does anyone know where i can find a gallery like this, or do i have to code it myself?
Iam trying to upload around 10-12 different images and vedio using seperate separate FileUpload but when I pressed submit button it will show "This page cannot be displayed" and not execute the code.
Id' like a sample on how to upload images with the Imgur API and then use the images on my ASP.NET website. The images should be uploaded to Imgur, and I'd like the path to the images to be stored in a database.
I want to develop a website for a photographer where the admin (the photographer) is allowed to upload new fotos which will then automatically be added to the gallery.
I was thinking of using a flash gallery as there are some nice free templates online. But I don't know how I will make the flash automatically show new images aswell. Or maybe I should just make a javascript gallery.
I am working on asp.net web application (VB) where the user uploads his images in the web server and then he can retrieve those images by using gridview with paging.
Everytime as the user uploads new images, the code should create new folder.
Any way to compress bitmaps, jpeg, png images for space. The reason being i have a webform that takes in n number of images from a user and stores it to a mapped drive. what i want to do is compress those images to optimize on space on the drive.
I want to store the image in specific folder by giving some id to that and Dynamically i want to generate new folder for storing another image.I am using FileUpload.saveas(sever.map(imgpath))but with these method i am able to store the image in project folder and i want to create a new folder etither in project folder or anywhere in machine and in that folder again one new folder with some name and in that i want to save image with unique id.
I want to permit the website admin to create new page dynamically.as I want the admin toadd new page for events of company and upload it to the server without asking me to do this.then how to make the enduser (websitea dmin) to create page dynamically and add text to this page ,also upload this page to the hosting company server without asking for username and password of the hosting company server.After that I want to make the admin of website to upload images to the images forler which locaes on hosting company server.
i want to create a slide show of user selected images, i want to give user an option where he can upload multiple images with single fileupload control,
When selecting an image for an item in file upload control of ajax toolkit (AsyncFileUpload), the only files that should be displayed are ".jpg, .jpeg, .gif, .bmp, or .png".
i save them into an array to upload them all at once this is working fine on the localhost but if the array contains more than 3 images on a different PC on the domain it gives me an exception
the exception "Cannot access a closed file"
i am saving my images in a folder in the same project and only the path in data base i do not know if that the best solution but i considered the performance that way will be better
it did work and there is no more exceptions in different permition levels but in a permition level the images does not saved in the server so when i tried to view them there is no image to view.