Web Forms :: How To Display Photo From Database
Aug 20, 2010I have some photos on database and i would like to show them based on the person who insert them. show me a piece of code (just to give me an idea) how can i view them?
View 7 RepliesI have some photos on database and i would like to show them based on the person who insert them. show me a piece of code (just to give me an idea) how can i view them?
View 7 Repliesin asp.net i want the user to chose a photo to upload from their HD . then i want the uploaded photo displayed and an hyperlink option to save or reject this photo. if accepted the filename will be stored in a DB.
the problem is displaying the photo before it has been saved.
I display strFileName which works on my PC but not on my laptop.
[code]
Can anyone tell me how to create an ASP photo album page WITHOUT using a database for the photos? In other words, I just want to be able to call the photos from a folder within the site... I can't get databases to work properly on my computer so I need to do it this simpler way. Can anyone let me know of a site which shows how to do this
View 19 RepliesI am using this tutorial, and my question is how can I save it to database after I capture? in ASP.Net
View 1 RepliesI am creating a website where users can upload a profile picture. When a photo is uploaded I am resizing it and generating two new files one for a thumbnail view and one for a large view. Both photos are stored in the same folder and the file names are stored in to two different columns in an SQL table against the users membership account. The two new files use the following naming convention:
Random_name_small.jpg
Random_name_large.jpg
I am then using a grid view with a custom template and an image button to display the Random_name_small.jpg. What I would like to do is when some clicks on this thumbnail photo to then display the associated Random_name_large.jpg. From the SQL select command I am reading both the Random_name_small.jpg and Random_name_large.jpg and then binding Random_name_small.jpg to the image button. Can this be done using the details view or should I be rewriting the code manually to display these images.
How to upload the photo and display in the image control,in the same employee form...the image is displayed in the right side. I've written the code for upload image,the image will uploaded successfully, I want to display on the same page.
View 1 Repliesi would like to do a project that enable to capture photo from webcam, and record audio from microphone store to database. but the photo and audio store in folder and the database only store the filename. later i set the path and its play back the audio and show the photo.
View 2 RepliesMy Image is showing in Image Control from somewhere, now my question is that How to save that shown image from Image Control without Using FileUpload Control to Database in ASP.Net?
Actually i have got a task to implement web cam to grid from there user will click button, another window will pop up then he will capture that image, then that image will be shown in GridView, then when a user click Submit button all the images captured by the user got saved to database in the form of Image
I have referred the following article : [URL] .....
I want to use a certain photograph as background to a web page. I cannot get it to "fit" - I always see only the top left hand quarter of the photo.
I have the following script in the style sheet
body
{
background-color:#ffffff;
background-image:url('Images/SPB_Kunstkamera.JPG');
background-repeat:no-repeat;
width:50%;
height:50%;
}
The photo appears OK but it's too big. Also not all browsers behave the same which is confusing me. Is this idea of a photo background a bit dicey ?
I have a webpage where user click on imagebutton control and each time different photos being displayed from source. I simply chage imageURL of the control on buttonClick.
While different photos being displayed, adress bar of the browser always show same adress like
w...mysite.org/mywebpage.aspx
How is possible to change adress bar in such a way that once user send the adress URL to anyone else, that user will be able to see a specific photo.
i want to uplod no.of photos in my project, e.g. hotel i want to upload photos of hotel and when i search for that hotel i can saw that photos into the details ofthat hotel.(i want to store that photos into my project's "Images" folder)
how can i do this using javascript, without javascript,using fileupload or without fileupload control...
How can i photo capturing using webcam in asp.net 2.0 ?
View 5 RepliesI'm building a site.In which i'll submit some information into database including picture and banner. How do i add a asp picture add control in submit information form.
View 5 RepliesI'm trying to create an image gallery where you can create tag on the photo like on facebook.Does anyone knows any free library to do this... I have already searched on google but i don't be able to find anything :S
View 1 RepliesHow to capture image from a webcam and show it in the webpage using asp.net.
View 1 RepliesI have created upload button as per below and im able to upload the photo to upload folder in my web application .
But im not sure how to determine only can upload image format jpg & bmp and size of the photo not exceed 1 MB ?
[code]
Can anybody recommend how I can build / add a robust photo gallery into my ASP.NET site? I would like the photo gallery to display images based on the results from a database search. I have already built a page with a datagrid which displays a set of results retrieved from a search. Now I would like to turn these database results into a gallery!
I have already looked at [URL] and a few other sites, but am not getting very far. If you consider the above to be a good example, I am currently stuck on several aspects of this project which I would be very grateful for assistance on.
I have a problem with fileupload control. I have a fileupload control in my registration page. The user will have to enter their information and upload a photo at the same time. When they click RegisterButton, a modalpopup will show up to confirm that the information in the registration is correct and once they click ConfirmButton on the modalpopup, they are registered into the database. I want also to see the photo in the modalpopup.
View 3 RepliesI need to uplaod photo in my VS2008 project. Can I use FileUpload control or link button is the better option. Also, how to do the upload using both controls.
View 13 RepliesI want to upload photo on flickr from my webpage.
My code is
Private Function GetAuthenticateToken() As String
Dim flickr As New Flickr("9855637e1efcb0a7245c2dfb5523774b", "6634b31122809bd7")
Dim frob As String = flickr.AuthGetFrob()
Return flickr.AuthCalcUrl(frob, AuthLevel.Write)
[Code] ....
But nothing is happen.
After saving image in db how can we retrieve it in gridview like thumbnail size image and by clicking on image in gridview its open as preview. How can we do this in asp.net using c#.
View 1 RepliesI have a gridview with employees name, there is link to another page,with employee information,when the user click on the link, according to employee id get the employee information from database, in this page we can add photos or update them,which works fine,
the problem is when updating the photo, and click the link, I see the same photo not the updates one,until I refresh the browser,
I m binding a datalist with the dataset through stored procedure which has a column 'Photo' but it is giving me this error
View 1 RepliesI h one problem, i need to upload many photo at a time using file uploader control in asp.net, only one photo I m able to upload, but problem is like after selecting course all records are coming, i need to attach one one file uploader (photo) option with all records so that after clicking[after selecting photo] on save button all the records [photos] h to be save in database, can U people plz. tell me what to do , how , for that do I need to make user control.
View 6 RepliesI have the reorderlist and a DELETE as link button. So far so good as far as I can tell that when I clicked on the delete link button, it deletes photo value from the database per the ID PK. However, I want to be able to delete the right photo file on the server/disk (jpg, gif..) but I could not figure out the logic to do so.
View 1 Replies