I was doing a test to upload pictures and i found out that when i upload pictures more than 2000px the webpage turn to be slow. I want users to upload pics with size not more than 600px and height 700px.
Partial Class PhotoAdmin_Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
UserIdValue.Text = Membership.GetUser().ProviderUserKey.ToString()
cannotUploadImageMessage.Visible = False
End Sub
Protected Sub dvPictureInsert_ItemInserted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewInsertedEventArgs) Handles dvPictureInsert.ItemInserted
'If the record was successfully inserted, save the picture
If e.AffectedRows > 0 Then
in facebook website we can see the extension in php means that website is develped in PHP then how it shows the java's uploader when we upload photos..? how they do this? can we use that uploader in asp.net websites too??
i have a file upload control to upload picture.i want the user can only upload picture not any other file . when i used file upload control ,user can insert word file also,this should not be done. user can only insert pictures,otherwise message should be appear
Im doing a school record program for my class, studen_id, name.... I have a database in access with a OLE field.I need the easy way to view the photos or link that are store in my databasein a web form, Ex. formview or other.I know that access is not the best way to go, but I only need to show 5 record with photos. If you know any help link, let me knowIm new on this, so I need step by step instructions.
Could anybody show me how to display photos from a database (Employee.Photo) in a RAZOR view.I want to display the photos in a WebGrid. I tryed to create a WebImage from the Byte[] from the Employee.Photo property but without success.When i try :
Byte[] bytes = employee.Photo; WebImage img = new WebImage(bytes);
an error tells me it cannot create the WebImage from the content (the content is the Byte array from the db).
I have a need to poll a mail server and then extract a photo that is either embedded or attached to the email message.The goal is to extract the photo and save it to a disk file. The desired functionality is much like emailing a photo from your phone to Twitter, Flickr, etc.
I want to show lots of photos. Each page have 12 positions to show 12 photos in one time. How can I put pages 1,2,3.... when you click page 1, you will see the first 12 photos and you click page 2 you can see next 12 photos.
I want to know how to do photo navigation ,i mean photo then next and previous to move from one to another like the one used in facebook i wanna to know how they do this flexible one.
(photo album i means in facebook).
(my photos comes from folders and their directory stored in the database)..
in my web page designing in some part i want to show all the photos one by one from a photo gallery folder.After some time if the folder is updated the updated photos should also be displayed.how to achieve this.
I am new to programming especially jQuery. I am trying to use ColorBox to display photos from an album using the example from[URL]Below is the .aspx code:
[Code]....
Could someone please tell how to correct this? or to be able to display the photos within dlColorBox DataList using ColorBox?So it is displays the photos within the selected album like Grouped Photo 1 example[URL]I am new to jQuery so could you please indicate how to make this work by changing the code as I have spent last 3 days looking at different examples on the internet.
I currently have a table with 3 columns : inscription-number, photo-number, photo-url. A single inscription number can have multiple photos. I am using a querystring for the inscription number but when I want to retrieve the photos I am not able to retrieve any other photos than the first one.
Now my query string is for the inscription field, so if my query is for 8366777, then i want to be able to display all 3 photos for that inscription, right now I'm only able to display the first one, how can I display the other two? Also the number of photos per inscription is never the same so I want to be able to display all the photos for that inscription.
Is it possible to display thumbnails for the photos when uploading them to the server? Say, when user selects a photo on the local drive, a thumbnail is displayed on the page for preview and when user clicks on the "Upload" button, the photo will be sent to server.
The more I think about it, the more confused I get. Is this even an ASP.NET question? Maybe it's a Silverlight question, or maybe it's an IIS question. Maybe it's a C/C++ question?!
I rent a server from a server farm. I also subscribe to a security service that streams, over the Internet, once every three seconds, via https, a series of JPG photos from four outdoor security cameras at a certain location.
I want to collect these photos on my rented server (server side). Keep in mind these are photos, not video, though after two weeks of streaming you can get around 50 GB of photos I am told, so I'll have to track storage consumed and delete the old ones, but that's a minor issue.
I researched how to capture streaming photos in ASP.NET and found nothing. I researched it in Silverlight and found a number of links for client side video chatting (a new feature supported by Silverlight 4) both multi-user and single-user, assuming they have web-cams attached to their client side PC. Not quite the same problem as what I have, since I don't care to attach any process to the four security cameras (the security company already wrote the software to do that, and is streaming it live). I just want to know how I can capture and store the streamed photos on my server.
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
i worked album in my web site that read from folder of photos and desplay photo in image if i click it in datalist of samples of this photosi want use next and previous linkbutton to display photos in image like facebookthis photos in folder
Ii've made a Listview showing photos from database as thumbnails in a "kind of a film strip", including a pager.What i need is that when i click on a thumbnail inside the ListView, to show the large photo in a image control outside the listview. this should work using the selectedIndexChanged event,
I am building an application that allows a user to upload multiple images, resizes them, and saves them. What I need (ok, what I'd like) is the following...
I would like some sort of way to prompt a user to crop the photos after they have been saved. I have code that creates a 175px square rectangle and saves that image. I need the user to select the image section they want saved and to do so I envision a window that automatically prompts them to do so once the upload(s) have completed. I think my preference would be to have a page or control (datalist, repeater, ectc..) that refreshes every time an image is saved and allows the user to crop the newly saved images. I'm opened to advice, opinions, free drinks and a clue.
I would like to know what the best method of uploading a batch of images/photos would be. Below are the steps that need to be implemented: Select Multiple images/photos from a directoryUpload original images to webserverGenerate thumbnailsUpload thumbnails to webserverAdd image and thumbnail details to a Database Does anyone know any vb.net script that will allow me to do this or will I have to code it from sratch?