RedHouse
07-26-2009, 06:49 PM
Iv'e been thinking about it but can't find any resources on the internet.
I was wondering how the original page you are on gets updated with a thumbnail picture of what you uploaded because I need to reproduce something similar?
When you upload a picture on ebay you click upload then a new browser window opens. you then select your image on this form contained in the new window and select upload. when you upload the browser window closes and a thumbnail of your picture appears on your original page without reloading the page.
I'm guessing it uses JavaScript to dynamically create a new div with the new image in it but how does it pass information about the uploaded picture from one browser window to another? I'm not worried about how to manipulate the image server side, but am interested in how it passes the data around to update the client page without reloading it.
I was wondering how the original page you are on gets updated with a thumbnail picture of what you uploaded because I need to reproduce something similar?
When you upload a picture on ebay you click upload then a new browser window opens. you then select your image on this form contained in the new window and select upload. when you upload the browser window closes and a thumbnail of your picture appears on your original page without reloading the page.
I'm guessing it uses JavaScript to dynamically create a new div with the new image in it but how does it pass information about the uploaded picture from one browser window to another? I'm not worried about how to manipulate the image server side, but am interested in how it passes the data around to update the client page without reloading it.