smartcommunitylab / comuneintasca

0 stars 0 forks source link

use smaller images generated by opencontent #30

Closed enricomarchesin closed 10 years ago

enricomarchesin commented 10 years ago

for every image in comunweb we are told there exists a resized image whose name is the same as the orginal one, but ending in "_SIZECODE.jpg" instead of just ".jpg".

SIZECODEs available are:

enricomarchesin commented 10 years ago

confirmed.

for example, the image with url:

http://www.comune.trento.it/var/comunetn/storage/images/citta/vivi-la-citta/eventi-in-citta/autobiografia-di-un-mondo-ex-le-cose-raccontano/8468062-2-ita-IT/Autobiografia-di-un-mondo-ex-le-cose-raccontano.jpg

is also available in small (100x100px box fit) size:

http://www.comune.trento.it/var/comunetn/storage/images/citta/vivi-la-citta/eventi-in-citta/autobiografia-di-un-mondo-ex-le-cose-raccontano/8468062-2-ita-IT/Autobiografia-di-un-mondo-ex-le-cose-raccontano_small.jpg

and in mediu size (200x200px box fit):

http://www.comune.trento.it/var/comunetn/storage/images/citta/vivi-la-citta/eventi-in-citta/autobiografia-di-un-mondo-ex-le-cose-raccontano/8468062-2-ita-IT/Autobiografia-di-un-mondo-ex-le-cose-raccontano_medium.jpg

will try to use the latter in app lists.