@@ -7,6 +7,7 @@
 import android.content.Context;
 import android.graphics.Bitmap;
 import android.graphics.BitmapFactory;
+import android.graphics.Rect;
 
 public class WebImage implements SmartImage {
     private static final int CONNECT_TIMEOUT = 5000;
@@ -48,7 +49,10 @@ private Bitmap getBitmapFromUrl(String url) {
             URLConnection conn = new URL(url).openConnection();
             conn.setConnectTimeout(CONNECT_TIMEOUT);
             conn.setReadTimeout(READ_TIMEOUT);
-            bitmap = BitmapFactory.decodeStream((InputStream) conn.getContent());
+            BitmapFactory.Options options = new BitmapFactory.Options();
+            options.inSampleSize = 8;
+            Rect rect = new Rect(-1,-1,-1,-1);
+            bitmap = BitmapFactory.decodeStream((InputStream) conn.getContent(), rect, options);
         } catch(Exception e) {
             e.printStackTrace();
         }