Upload Images And Text File Into Folders?
1. input: folder(contain imges) + text file(multiline=contain info for all the images)output: folder (contain 1 image + text file (1line=contain info of the image only) 2. each of the line info; A,A,A,A,,||B,B,B,B,B||CCC||D,D,D the last D is image name and we can relate the image with the last D but the system requirement format is A,A,A,A,,||B,B,B,B,B||CCC||D
View 3 Replies (Posted: Nov 24, 2008 03:57 AM)
Related Forum Messages For ASP.NET category:
Allowing Website Visitors To Upload Text And Images?
For a hospital Website, the admin wants to allow former surgery patients to upload their stories, along with up to three images in each case. The result would be content like this at[URL] Right now, an editor creates all this content. But it occurred to me that there might be a way for visitors to add their own content to the Website. What would be the best way to do this? Creating a Web app and form that will allow users to upload multiple files? Or using an existing program, perhaps a wiki or blog? Or some other kind of social networking program? I've done a lot of searching on ways to upload multiple files to a database or server file system, and we could do that, but I want to avoid reinventing the wheel, and I want to make an intelligent choice of the best method for achieving the hospital's goal
Posted: Aug 19, 2009 02:19 PM
View 10 Replies!
Architecture :: Text - Upload Images Related To Article
The user can write articles and upload images related to that article. Let's say that there is a form that collect the article text and, under it, there is a FileUpload control for images. Here, I have a question. What if the user has uploaded some images and then he closed the browser, before submitting, cancelling the operation? the images have been uploaded to the server wasting space!
one solution I've figured out is to store "ImageInfo"s in a list, and store the list in the Session object. And when the user submit the article, the images in the list should be marked as "related" and then inserted. and in the Session_End event I should delete every image does not have the "related" mark.
Posted: Dec 10, 2010 10:21 PM
View 6 Replies!
Web Forms :: How To Resize Images On File Upload
I am using ajax slide show extender and have a an images directory in the root.
When uploading I want to resize each jpg image automatically to a default size and retain the quality.
this is for a better viewing experience of the slideshow
Is this possible?
I am coding in c sharp.
Posted: Oct 12, 2009 07:13 PM
View 5 Replies!
Web Forms :: Refreshing Images On Page After File Upload?
Posted: May 16, 2003 05:21 PM
View 17 Replies!
Count Folders And Link Images?
I have a folder, 2010/08/06, 2010/08/05, a total of 30 such maps. In each folder there is one picture 01.jpg. When I click on the link I need to create a page that will be 30 photos, each of your folders. It should create a script that will count from today's date back 30 days,also each of these images (01.jpg) should be a link.
Posted: Aug 06, 2010 06:54 AM
View 2 Replies!
How To Let User Upload Multiple Images Without Pre-defining The Number Of HTML Upload Input Box
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.
Posted: Nov 30 10 at 0:14
View 2 Replies!
Forms Data Controls :: Displaying Images Into Datalist From Different Image Folders?
i had a folder called Images. In that Images folder there are 4 sub folders named (img1, img2, img3, img4). Each subfolder has images. My requirement is in home.aspx page i want to display one image from each folder i,e. (one image form img1 , one image from img2 and so on)into datalist. If i click on one image in datalist all images corresponding to that image must display in datalist of another page like displayimage.aspx (i,e. if i click on image from img1 folder, all images from img1 folder should display in another page)
Posted: Sep 24, 2009 08:08 AM
View 6 Replies!
Listing Folders In Folders Then Creating Arrays In JS For Each Of The Folders?
Listing folders in folders then creating arrays in JS for each of the folders?
I have a directory structure as follows;
Task at hand:
note that I do not know the number of or the names of the folders, they can be different in different cases, I only have the root path.
Posted: Jun 21 10 at 12:58
View 3 Replies!
Forms Data Controls :: Dynamically Bind Images To Repeater Control From Different Folders?
I have tried binding images to repeater from one folder called images . But now, I am trying to bind the repeater with different folder's images, based on which menu item is clicked like "Wedding", "Birthday". When "Wedding" is clicked then it repeater should be loaded from Wedding folder's images similarly with "Birthday".
Currently i am using following code to load from single folder.
Repeater1.DataSource = di.GetFiles();
(!IsPostBack)string imgDir = Server.MapPath("~/images");DirectoryInfo di = new DirectoryInfo(imgDir);
Posted: Jun 23, 2010 05:32 AM
View 3 Replies!
Web Forms :: Upload A Text File And Display The Content In A Grid View?
I am trying to upload a text file and display the content in a grid view. However, when i try to upload it,it appear this error? Oh ya, do you know the code to upload text file? If you know can u edit my code to make it take the file from fileupload instead of textbox?
The error is:
Index was outside the bounds of the array. Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Posted: Nov 25, 2010 01:58 AM
View 5 Replies!
Web Forms :: Can Upload A File On A Network Share Folder Using File Upload Control
I want to upload files to the web servers from the client machines.
Can i upload a file on a network share folder using file upload control?
I would like to create a share folder on a file server sitting next to the web server. If i upload the file from the network share folder instead of uploading it from the client machine does it make any difference?
Will the file be stored in a temporary location before copying to the final destination? Where will be the file stored in this case of uploading it from share folder?
Posted: Aug 06, 2010 06:13 PM
View 1 Replies!
How To Share An Original File Over Multiple Folders Without Duplicating The File
I have a datagrid which shows the contents of a folder, the folder has .doc, .pdf and .txt files in it, when you click on the link the file opens, but I also have .lnk files, which are shortcuts to files. When I try and open one of these it doesnt direct me to the file which is shortcutted.
Is there a way to make this work?
If there isnt, how would you share an original file over multiple folders without duplicating the file, the reason for not duplicating is so when an update is made to a document, the risk of missing one is reduced. If I can just create a shortcut then this would be ideal.
Posted: Aug 20, 2009, 04:10
View 4 Replies!