Project

General

Profile

« Previous | Next » 

Revision d907eaa7

Added by Andreas Kohlbecker almost 13 years ago

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

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonServiceImpl.java
582 582
				for(Media media : descElem.getMedia()){
583 583
									
584 584
					//find the best matching representation
585
					medRep.add(MediaUtils.findBestMatchingRepresentation(media, size, height, widthOrDuration, mimeTypes));
585
					medRep.add(MediaUtils.findBestMatchingRepresentation(media, null, size, height, widthOrDuration, mimeTypes));
586 586
					
587 587
				}
588 588
			}

Also available in: Unified diff