tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

images (ABCD): allow for both thumbnail and application url in indexing and portal #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At a species page like http://data.gbif.org/species/16099798, the image
provided through ABCD does not show up directly when the file type is not
recognised, but only as a hyperlink. It would be nice to have a thumbnail of
the image provided here instead, which on click could then link to the
application. In ABCD 2.06, two elements exist for this purpose: 

/DataSets/DataSet/Units/Unit/MultiMediaObjects/MultiMediaObject/FileURI 
(which would contain the thumbnail), and 

/DataSets/DataSet/Units/Unit/MultiMediaObjects/MultiMediaObject/ProductURI 

(URL for the viewer application).

A possible workaround (serving two images using the repeating tag
provider-side, one to the application as before, plus another as a
thumbnail JPEG, so that they would both show up) was discarded because of 

- implications for other portals using the data, which would then also
always show two images, and

- being an unclean solution, given that ABCD 2.06 does provide both
elements for this purpose

Original issue reported on code.google.com by josecua...@gmail.com on 31 Jul 2009 at 1:33