view.setFullSizeMode(ImageThumbnail.STYLE_FULL.equals(newValue));
} else if (ImageThumbnail.ATTACHMENT_ATTR.equals(name)) {
ImageThumbnailWrapper w = ImageThumbnailWrapper.of(element);
assert w != null;
Attachment newAttachment = manager.getAttachment(newValue);
Attachment oldAttachment = w.getAttachment();
if (newAttachment != oldAttachment) {
if (oldAttachment != null) {
attachmentHandler.cleanup(element, oldAttachment);
}
if (newAttachment != null) {