Open si-the-pie opened 12 years ago
When viewing:
http://m.cyclestreets.net/location/#39396
on a small screen such as HTC Wildfire the image requested is:
/location/39396/cyclestreets39396-size250.jpg
and the same page viewed on a Blackberry Playbook with a bigger screen is:
/location/39396/cyclestreets39396-size640.jpg
ditto via a large screen laptop.
On the Samsung Galaxy S3 there is blocky unclear image.
Latest update adds a click from the thumbnail on pages like http://m.cyclestreets.net/location/#39396 directly to the photo so that you can zoom in.
In pages of the form: /location/#nnnn there is CSS on the tag that has width=100% which explains why the thumbnail stays the size it is while zooming in or out. The maplets zoom but the photo stays as it is - quite frustrating.
I've also found that photos are also displayed using /photomap/ url - by different code (possibly as a popup?) - which has yet to be updated to this latest change.
The solution is surely just to increase from 640px (or whatever it is) to 1024px, after which the same fit-to-width will be applied by the browser. It won't be that much larger a file, and these days that seems more sensible given mobile screen improvements over the last 2 years.
I think the issue was the because of the tag width=100% the mobile device was requesting only very small thumbnails. My link through to a 640px image was a very simple change. A fuller solution could include changing the css, and also the cyclestreets api to provide larger images - I avoided getting to involved in that as there are heaps of other changes going on at the moment.
Also I think there's merit in completely changing the way photos are handled in the app, so I don't think its worth spending too much resource on this.
Shaun writes 16 Jun that: 66 I find that on the mobile photo map pages the photo is so low resolution that it is impossible to read what is in them. 99
http://lists.cyclestreets.net/mailman/private/mobile/2012-June/000625.html
and provides a screen snapshot.