Project

General

Profile

« Previous | Next » 

Revision a40ad0d2

Added by Andreas Kohlbecker almost 13 years ago

modifications in dataportal for #2206 (modify the means to find images for the data portal)

View differences:

themes/garland_cichorieae/template.php
459 459
		$captionElements = array('title', '#uri'=>t('open Image'));
460 460
	}
461 461

  
462
	$galleryLinkUri = path_to_taxon($taxon->uuid, true).'/images';
463
	$mediaList = cdm_ws_get(CDM_WS_PORTAL_TAXON_MEDIA, array($taxon->uuid, $prefMimeTypeRegex, $prefMediaQuality));
462
	$mediaQueryParameters = array("type"=>"ImageFile");
463
	$mediaList = cdm_ws_get(CDM_WS_PORTAL_TAXON_MEDIA, array($taxon->uuid), queryString($mediaQueryParameters));
464 464
	$out .= theme('cdm_media_gallerie', $mediaList, $gallery_name ,$maxExtend, $cols, $maxRows, $captionElements, 'NORMAL', $galleryLinkUri, null);
465 465

  
466 466
	return $out;

Also available in: Unified diff