int width = pendingAttachment.width();
int height = pendingAttachment.height();
if (width != -1 || height != -1) {
ERMimeType mimeType = ERMimeTypeManager.mimeTypeManager().mimeTypeForMimeTypeString(suggestedMimeType, false);
if (mimeType != null) {
IERThumbnailer thumbnailer = ERThumbnailer.thumbnailer(mimeType);
if (thumbnailer != null) {
thumbnailer.thumbnail(width, height, uploadedFile, uploadedFile, mimeType);
}
}
}
String ownerID = pendingAttachment.ownerID();