feature request #9134
Updated by Andreas Kohlbecker almost 4 years ago
Often only the full sized image URIs are recorded in a db but thumbnail sized images are often required.
Based on a set of rules the missing media representation can be created at request time.
As the `MediaRepresentations` are created as purely volatile objects they must not be persised. To prevent from erroneously storing them as part of an cdm entity graph the classes that produce these new `MediaRepresentations` should only reside in `cdmlib-remote`.
All method in `cdmlib-remote` which return `Media` or `MediaRepresentation` should be equipped with this functionality.
Other methods which also make use of the according `MediaUtil` methods should can not be adapted:
* eu.etaxonomy.cdm.api.service.ClassificationServiceImpl.getAllMediaForChildNodes(TaxonNode taxonNode, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes)