setupAvatarHeaders(response, forumModificationDate);
}
private byte[] loadImageFromProperties(String propertyName, ImageControllerUtils imageControllerUtils) {
Component forumComponent = componentService.getComponentOfForum();
String imageProperty = null;
if (forumComponent != null) {
imageProperty = forumComponent.getProperty(propertyName);
}
byte[] imageBytes = null;
if (imageProperty == null || imageProperty.isEmpty()) {
imageBytes = imageControllerUtils.getDefaultImage();