I had already fixed the bugs in PhotosSunamoCzClient earlier. At first I tried to fix everything on the server, but as soon as missing files started turning up, I gave up on that and started on fixes so that I could upload everything again afterwards. Of course I was working on other things in the meantime, and only yesterday did I get back to it to convert it into a Windows Store app.
In the end I managed that too. The biggest snag was the upload to the web. Until now I had handled it with an ashx handler, but I couldn’t get it working with the HttpClient class (I had always done it with HttpWebRequest, which is missing in Windows Store Apps). So I decided to go with a SOAP web service (extension .asmx/.asmx.cs). Today I wanted to upload all the photos overnight to my website.
They would already be there, except that during the night it got stuck twice, and each time it waited around 2 hours on average before it moved on. Since I slept for 5 hours, only about 500 photos got uploaded :/. Really interesting, I thought there would be some timeout by default. The second problem is that sometimes it simply fails to upload with some error. It has to be retried. Each photo also has 2 thumbnails – one with borders at a fixed size and one without borders.
4108*3 files currently take up 1.05 GB. The new photos can be up to 2048 px wide. The height is then calculated automatically based on the original proportions. In the photo gallery I switched on the older but slightly better album view. Something changed on my PC as well. I have new albums sorted by topic. Most of the photos are therefore in the root albums GC (cache photos), Geocaching (general geocaching photos) and of course Railways (trains and stations).
And the fact that I only have 4100 photos on the server so far means that I still have to upload another 5100. But now I’m off to convert my GC program into a Windows Store App.