I have the FlickrViewer demo working fine and decided to change it to my own server url
On my site the test webpage is
http://www.carlukehistory.co.uk/artwork/countries/index.html
and the source code is real simple
The pattern code is unchanged and I did a msgbox to check what it is
img src=\"([^"]+)\"
The program runs to the point in the code where
shows on-screen while I presume it is trying to get an image but it sticks there forever.
A typical image on Flickr is
so my simple <img src> should be enough, but not-obviously it fails.
:sign0085:
B4X:
Sub Process_Globals
Dim MainUrl As String
' MainUrl = "http://www.flickr.com/explore/interesting/7days/"
MainUrl = "http://www.carlukehistory.co.uk/artwork/countries/index.html"
End Sub
On my site the test webpage is
http://www.carlukehistory.co.uk/artwork/countries/index.html
and the source code is real simple
B4X:
<html>
<body>
<br>
<h2>CIA World Factbook Images</h2>
<img src="http://www.carlukehistory.co.uk/artwork/countries/100.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/101.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/102.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/103.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/104.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/105.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/106.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/107.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/108.jpg"><br>
<img src="http://www.carlukehistory.co.uk/artwork/countries/109.jpg"><br>
</body>
</html>
The pattern code is unchanged and I did a msgbox to check what it is
img src=\"([^"]+)\"
The program runs to the point in the code where
B4X:
Sub btnConnect_Click
Dim job As HttpJob
job.Initialize("Main page", Me)
job.Download(MainUrl)
ProgressDialogShow2("Fetching data...", False)
End Sub
shows on-screen while I presume it is trying to get an image but it sticks there forever.
A typical image on Flickr is
B4X:
<img src="http://farm9.staticflickr.com/8358/8424695939_43e7b33ee5_m.jpg" width="240" height="160" alt="Late afternoon at the Costa Verde (1 of 1) by edwindejongh" class="pc_img" border="0" />
so my simple <img src> should be enough, but not-obviously it fails.
:sign0085: