+                                    thumbnail = ThumbnailUtils.extractThumbnail(bitmap, pxW, pxH);
+                                    byte[] bytes = get.getResponseBody();
+
+                                    String type = "";
+                                    if (mIsThumbnail){
+                                        type = "Thumbnail";
+                                    } else {
+                                        type = "Resized image";
+                                    }
+                                    Log_OC.d("Thumbnail",
+                                            type + " size of " + file.getRemotePath()
+                                                 + ": " + bytes.length);
+
+                                    // bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length);
+
+                                    if (mIsThumbnail) {
+                                        thumbnail = ThumbnailUtils.extractThumbnail(bitmap, pxW, pxH);
+                                    } else {
+                                        thumbnail = bitmap;
+                                    }