The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

Adaptive Images for WordPress

Adaptive Images for WordPress banner
Active installs
3k+
56 ratings
4.7
Last updated
2 years ago
Version
0.6.73
Tested up to
WP 6.6.12

About this plugin

Adaptive Images

Resizes and optimizes images delivered to mobile devices, in a transparent way, so that the total download time is dramatically reduced. It works as a filter between your WordPress website and the devices and seves smaller images to them.

Note that this is not a CSS nor a responsive images solution. It does not affect your themes layout and style. It simply sends smaller images to the devices without them noticing it!

Fundamental goals

  1. Reduce the total download time of a web page in mobile devices dramatically.
  2. Work transparantly and unobtrusively by being independant of your theme layout and style.
  3. Be agnostic of the yet not-standardised picture element or HTML the img srcset attribute.

Side benefits

  1. Respects search engines and sends them the orginal version of each image.
  2. If it does not recognise a device size it falls back to the original image size.
  3. It is lightweight, because it does not need to load the whole WordPress environment every time it server an image request.

Supported formats

  • JPEG
  • PNG
  • GIF (not animated)

NOT Supported formats

  • WEBP
  • GIF (animated)

CDN/Varnish/Nginx/external caching services

Since version 0.6.0 CDN/Varnish/external caching service support has been added as an option, in an experimental mode. This means: i) it is not thorougly tested yet ii) however, it works in almost all test cases so far iii) it bears no dangers to your installation iv) it adds a special url parameter to your image urls, so it is slightly obtrusive.

  • Tested with MaxCDN, Varnish and Nginx up to now.
  • Cannot handle CSS background images in this mode (yet).

Cannot work, not even in experimental mode, with CDNs which use a different subdomain for images, because these setups completely bypass WordPress when delivering images. Feel free to ask for details on this in the support forum.

Default breakpoints

  • 1024px wide screens
  • 640px wide screens
  • 480px wide screens

Since version 0.5.0 and upwards it is configurable whether the plugin should take into account the landscape or the portrait orientation of each device. HiDPI (high device pixel density or retina) screens are supported too.

How to test

The esiest way to test is with your browser's device emulation mode (Responsive Design Mode) in it' Developer Tools. You can check this out in this video https://www.youtube.com/watch?v=hCAC1XUUOvw/ as an example.

  1. Test with a tool like Webpagetest http://www.webpagetest.org/. Make sure you set the “Emulate Mobile Browser” setting in the “Advanced Settings” > “Chrome” tab.
  2. Test with an actual mobile device, a smartphone or tablet. Watch your website load in a snap.
  3. Check the /wp-contents/cache directory to see the /adaptive-images directory and its contents. This is where the resized images are kept and cached by default.
  4. View an image straight from a browser and add a "?debug=true" at the end of the url like this "http://www.website.com/wp-content/uploads/2015/01/image.jpg?debug=true". This verifies that the plugin is working and should print useful debug information. If you keep seeing your image, then the plugin is not working as expected and the cause is probably a failure to update the .htaccess file properly.
  5. Add a "?debug=original" at the end of the url of an image and you will see the orginal version of the image even when a smaller version of it should have been shown.

Incompatibilities and issues

  • The plugin supports Nginx, if it is used as the main server, not as a caching server, but the server’s configuration file must be manually configured like this:

    location / {
    rewrite .(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php;
    }

  • Windows IIS is not supported, but could be manually configured. Any IIS experts are welcome to contribute.

  • Cannot work, not even in experimental mode, with CDNs which use a different subdomain for images.
  • When using HTTPS/SSL make sure that you update all your website urls and also the urls in your WordPress General
    settings page, otherwise the plugin will not be able to locate your images.
  • WordPress Multisite (Mu) is not supported (some plans for future support are being discussed).

Stuff to keep in mind

  • The plugin needs to add a little bit of code to your .htaccess file in order to function properly. It removes this code once disabled. If you are not cool with that, then… tough luck!
  • The plugin does not care whether the device is actually mobile or not. It checks the device screen resolution. If you have set your breakpoints big enough then it should work just as good for desktop devices as well. However, it targets mostly the mobile ones.
  • The resized versions of the pictures are kept in a special directory in the /wp-content/cache directory. This causes some storage overhead. It is up to you to judge whether this overhead is a sustainable option in your hosting environment. Usually it is not even remotely compared to the size of your original images directories.
  • The plugin does not help with (nor hinder) art direction. Simple as that. Art direction https://usecases.responsiveimages.org/#art-direction in responsive images is an entirely different, yet important, problem. This plugin does not tackle with it. But it works in a supplementary way without interfering with other solutions that do. This means that you can combine it with any art direction solution.

Credits

  • The plugin was originally based on the WP-Resolutions plugin https://github.com/JorgenHookham/WP-Resolutions/, but since version 0.3.0 it is a complete rewrite!
  • Both plugins, WP-Resolutions and this one, have borrowed ideas from the Adaptive Images http://adaptive-images.com/ solution, specially adapted for WordPress.
  • Many special thanks to my good friend and colleague Antonis Zachopoulos for the countless times that he provided feedback, ideas and debugging hints.
  • Many thanks to @railgunner for the initial idea on the CDN/Varnish/external caching service feature in the plugin support forum. It showed the way that it was indeed possible!
  • Thank you AJ at WpFASTER.org for being keen to test the above feature in a real environment.
  • Thank you to the guys over at the Pressidium team for helping with debugging the CDN/Varnish/external caching service feature and providing test environments.
  • Thank you Andy Gray for helping debugging the weird filesystem path issues in managed hosting environments.
  • Thank you @milenoi2016 for helping sort out one of the many cases of WordPress directories setup.
  • Thank you @minorgod for the Windows path fix.
  • Thank you Mark Gruffer for the global request variable exposure hint.
  • Thank you @timholz for the SameSite cookie hint.
  • Thank you @blackcapdesign for spotting the regular expression issue in version 0.6.70 and helping debug it.
  • Lastly, a million thanks to all of you who provided useful feedback in the early versions of the plugin, where the inevitable glitches, due to server environment variations, were more than a few.

Please, do let us know how the plugin works (or doesn’t work) for you. We love comments and creative feedback!

Screenshots

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 27, 2026.

Top 5,000 on WordPress.org Plugin rankings
  • Downloads on a typical day are up 35% on the month before.
  • Passes 2 of 4 health checks below.
2/4

Health checks

What a careful site owner looks at before installing.

  • Actively maintained Last release 2 years ago
  • Tested with current WordPress Tested up to 6.6.12, 5 releases behind
  • Support questions answered Nothing open in the last two months
  • Well rated 4.7 stars from 56 ratings
Active installs
3,000+ WordPress.org rounds this down
This week
156 downloads +0.6% vs the week before
Last 30 days
846 downloads +35% on a typical day
All time
180k downloads On WordPress.org since 2015
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
156
Typical week
75
Peak
308 Week of Nov 6
View as table
WeekDownloads
Week of Nov 20156
Week of Nov 13155
Week of Nov 6308
Week of Oct 30185
Week of Oct 23175
Week of Oct 16299
Week of Oct 9106
Week of Oct 2100
Week of Sep 25101
Week of Sep 18117
Week of Sep 11106
Week of Sep 4198
Week of Aug 2864
Week of Aug 2177
Week of Aug 1479
Week of Aug 787
Week of Jul 31102
Week of Jul 2475
Week of Jul 17126
Week of Jul 1054
Week of Jul 339
Week of Jun 2652
Week of Jun 1950
Week of Jun 1263
Week of Jun 574
Week of May 2969
Week of May 2267
Week of May 1568
Week of May 871
Week of May 161
Week of Apr 2467
Week of Apr 1782
Week of Apr 1063
Week of Apr 371
Week of Mar 2787
Week of Mar 2081
Week of Mar 1381
Week of Mar 660
Week of Feb 2792
Week of Feb 2067
Week of Feb 1377
Week of Feb 685
Week of Jan 3072
Week of Jan 2365
Week of Jan 1659
Week of Jan 958
Week of Jan 297
Week of Dec 26, 202560
Week of Dec 19, 202555
Week of Dec 12, 202567
Week of Dec 5, 202566
Week of Nov 28, 202571
Where it stands Rank among the plugins WPFolks tracks every day.
Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

4.7 56 ratings on WordPress.org
  • 5 47
  • 4 5
  • 3 1
  • 2 0
  • 1 3

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Latest on WordPress.org

[Adaptive Images for WordPress] Brakes all images
metaeditor · December 15, 2020 · 1 reply

Good Idea, worked some time ago. Now it brakes all my images. The htacess entry that produced by this Plugin was the problem. Moved to other image optimization strategy and wepb. Dont have the time to fix that single Plugin problem.

[Adaptive Images for WordPress] barely works, or doesnt work
garg4m3l · October 23, 2019 · 1 reply

i think it worked for one of my images? and only generated 1024. didnt generate more sizes even when i accessed it from 200×200 phone. so: didnt resize my images, especially featured images doesnt have srcset doesnt use custom sizes bad for seo cuz it will…

Proudly supported by