Revision 02faa087
Added by Andreas Kohlbecker over 6 years ago
modules/cdm_dataportal/includes/media.inc | ||
---|---|---|
362 | 362 |
); |
363 | 363 |
// due to a bug the portal/taxon/{uuid}/media service only delivers a filtered media object |
364 | 364 |
// which only contains the thumbnail representation even if the height and width filters are not set. |
365 |
// --> #6970 |
|
365 | 366 |
// to get hold of the full resolution images we send a separate request : |
366 | 367 |
$complete_media = cdm_ws_get(CDM_WS_MEDIA, $media->uuid); |
367 | 368 |
$full_size_representations = cdm_preferred_media_representations($complete_media, array( |
Also available in: Unified diff
fix #6969 using the size defined in settings to use the preferred representation