Last post Jul 26, 2013 10:45 AM by matifnadeem
Jul 26, 2013 09:29 AM|MrMatt2|LINK
I am working on a "Batch Add" for photos in my Photo Gallery. When they click the "Add" button, currently the page sits there for 5 minutes (depending on the number of photos) and then refreshes to show the results.
Is there a way that it can be returning the results as it adds the photos back to the page? I'm still new to ASP.net and I'm not sure what to look for. I'm using .net 4.0
Any guidance would be appreciated. I'm not entirely sure what I should be looking for to do this.
Jul 26, 2013 09:55 AM|matifnadeem|LINK
Here is useful links present which helps you to get rid of that mess.
Hope you understand it. Let me know if any query remains.
Jul 26, 2013 10:06 AM|MrMatt2|LINK
Thanks for the Links,
Those look like they would be great for uploading an image without refreshing the page, but I've got ~700 photos already uploaded to the server. When they click the Add button, it's currently running in the code behind a script for ImageResizer to resize
the photos and add them into the database.
Since it can take a while to do this for the large number of photos, the page just sits there. I was hoping I could have it process, and as it finished each one, print it on the screen in a container, but right now it waits to print anything to the page
until all the images have been processed. Any thoughts?
I typically add 200+ photos at a time to the gallery, but when I write the single upload the second link will definately help.
Jul 26, 2013 10:45 AM|matifnadeem|LINK
If you are uploading bunch of photos, then use this plugin which help you upload your images fastly
And you want to resize the image before upload, which can also be done by using this plugin as
Finally you need to show uploaded photo, the use this link
Hope you understand all of this. Let me know if any query remains.