this is more of an enquiry into if anyone out there has loaded images using a handler? I have tried since 8 30 this morning and its now 4 pm and I have gracefully given up on trying to achieve this. The dreaded unsecure items cannot be overcome so I am deleting
the flickr widget from my site.
Amongst everything tried includes
HttpWebResponse response = (HTTPwebResponse)WebRequest.Create("http://farm4.static.flickr.com/3434/3969021243_8ef591af9e_s.jpg");
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
if ((request.HaveResponse) && (response.StatusCode == HttpStatusCode.OK))
using (StreamReader sr = new StreamReader(response.GetResponseStream()))
//output image bytes as image
System.Net.WebClient wc = new System.Net.WebClient();
wc.Headers.Add("user-agent", "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:22.214.171.124) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)");
System.IO.Stream s = wc.OpenRead("http://farm4.static.flickr.com/3434/3969021243_8ef591af9e_s.jpg");
System.Drawing.Image img = System.Drawing.Bitmap.FromStream(s);
NOTHING SEEMS TO WORK!!??????
OH and yes I have and can use the api to get the xml and json and fill with html which displays and scrolls the images etc... Its just that once the page loads with img src=http://.. i get the error of onsecure items.