Image from Website
-
Hey Guys I have an HTMLDocument and i want to be able to get an image on the website and display it in a listview. I can get the HTMLImage class loaded with the image element but can't seem to get the actuall image so i can display it. I have tried laoding it into a Image class but it says it won't load from a URL. Does anyone know how i would go about doing this? Cheers Pete
-
Hey Guys I have an HTMLDocument and i want to be able to get an image on the website and display it in a listview. I can get the HTMLImage class loaded with the image element but can't seem to get the actuall image so i can display it. I have tried laoding it into a Image class but it says it won't load from a URL. Does anyone know how i would go about doing this? Cheers Pete
Can't you simply download the image, save it locally and display it in the list view? The src attribute of the img tag holds the URL of the image, so you can simply download it using HttpRequest and then give the downloaded file path to the listview. Regards Senthil _____________________________ My Blog | My Articles | WinMacro