An image loading and caching library for Android focused on smooth scrolling
Failed to load latest commit information.
.idea Update code style settings for AS. Nov 4, 2015
glide Spring Cleaning Jul 13, 2016
gradle/wrapper Update Android Gradle plugin. Sep 11, 2016
integration Fix minor inconsistency in okhttp integration libs. Jan 20, 2017
library Update to latest sdk/build tools. Feb 15, 2017
samples More import formatting Aug 9, 2016
scripts Update Android Gradle plugin. Sep 11, 2016
static Add logo. Sep 5, 2014
testutil Spring Cleaning Jul 13, 2016
third_party Fix crash when parsing GifHeaders to detect animations. Jan 19, 2017
.gitignore Update .gitignore: exclude runConfigurations.xml file Aug 21, 2015
.gitmodules Update dependencies and test structure. May 21, 2015
.travis.yml Update to latest sdk/build tools. Feb 15, 2017 Automated g4 rollback of changelist 116167265. May 17, 2016 Introduce issue templates "the right way". Mar 18, 2016
LICENSE Initial not compiling gif encoder Oct 3, 2014 Introduce issue templates "the right way". Mar 18, 2016 added note for DexGuard only Dec 28, 2016
build.gradle Update Android Gradle plugin. Sep 11, 2016
checkstyle.xml Migrate to new import order. Jul 15, 2016
checkstyle_suppressions.xml Update dependencies and test structure. May 21, 2015 Update to latest sdk/build tools. Feb 15, 2017
gradlew Update to Gradle 2.9 | Checkstyle 6.12.1 | PMD 5.4.0 Dec 2, 2015
gradlew.bat Add jar target and get AndroidStudio 0.6.2 working. Jun 22, 2014
settings.gradle Forward port PR #1119: Support contact Uri #394 Jul 10, 2016


Build Status Report an issue with Glide

Glide is a fast and efficient open source media management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.

Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs. Glide includes a flexible API that allows developers to plug in to almost any network stack. By default Glide uses a custom HttpUrlConnection based stack, but also includes utility libraries plug in to Google's Volley project or Square's OkHttp library instead.

Glide's primary focus is on making scrolling any kind of a list of images as smooth and fast as possible, but Glide is also effective for almost any case where you need to fetch, resize, and display a remote image.


You can download a jar from GitHub's releases page.

Or use Gradle:

repositories {
  mavenCentral() // jcenter() works as well because it pulls from Maven Central

dependencies {
  compile 'com.github.bumptech.glide:glide:3.7.0'
  compile ''

Or Maven:


For info on using the bleeding edge, see the Snapshots wiki page.


Depending on your ProGuard (DexGuard) config and usage, you may need to include the following lines in your proguard.cfg (see Configuration wiki for more details):

-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  **[] $VALUES;
  public *;

# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule

How do I use Glide?

Checkout the GitHub wiki for pages on a variety of topics, and see the javadocs.

Simple use cases will look something like this:

// For a simple view:
@Override public void onCreate(Bundle savedInstanceState) {
  ImageView imageView = (ImageView) findViewById(;


// For a simple image list:
@Override public View getView(int position, View recycled, ViewGroup container) {
  final ImageView myImageView;
  if (recycled == null) {
    myImageView = (ImageView) inflater.inflate(R.layout.my_image_view, container, false);
  } else {
    myImageView = (ImageView) recycled;

  String url = myUrls.get(position);


  return myImageView;


Version 3 on the 3.0 branch is a stable public release used in multiple open source projects at Google including in the Android Camera app and in the 2014 Google IO app. Version 4 is currently under development on the master branch.

Comments/bugs/questions/pull requests are always welcome! Please read on how to report issues.


  • Android SDK: Glide requires a minimum API level of 10.
  • OkHttp 2.x: there are optional dependencies available called okhttp-integration, see Integration Libraries wiki page.
  • OkHttp 3.x: there are optional dependencies available called okhttp3-integration, see Integration Libraries wiki page.
  • Volley: there are optional dependencies available called volley-integration, see Integration Libraries wiki page.
  • Round Pictures: CircleImageView/CircularImageView/RoundedImageView are known to have issues with TransitionDrawable (.crossFade() with .thumbnail() or .placeholder()) and animated GIFs, use a BitmapTransformation (.circleCrop() will be available in v4) or .dontAnimate() to fix the issue.
  • Huge Images (maps, comic strips): Glide can load huge images by downsampling them, but does not support zooming and panning ImageViews as they require special resource optimizations (such as tiling) to work without OutOfMemoryErrors.


Building Glide with gradle is fairly straight forward:

git clone # use if "Permission Denied"
cd glide
git submodule init && git submodule update
./gradlew jar

Note: Make sure your Android SDK has the Android Support Repository installed, and that your $ANDROID_HOME environment variable is pointing at the SDK or add a file in the root project with a sdk.dir=... line.


Follow the steps in the Build section to setup the project and then:

./gradlew :samples:flickr:run
./gradlew :samples:giphy:run
./gradlew :samples:svg:run

You may also find precompiled APKs on the releases page.


Follow the steps in the Build section to setup the project and then edit the files however you wish. Intellij IDEA 14 cleanly imports both Glide's source and tests and is the recommended way to work with Glide.

To open the project in IntelliJ IDEA:

  1. Go to File menu or the Welcome Screen
  2. Click on Open...
  3. Navigate to Glide's root directory.
  4. Select build.gradle

Getting Help

To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, email Glide's discussion group, or join our IRC channel:


Before submitting pull requests, contributors must sign Google's individual contributor license agreement.



Sam Judd - @sjudd on GitHub, @samajudd on Twitter


BSD, part MIT and Apache 2.0. See the LICENSE file for details.


This is not an official Google product.