We'll create fresh WordPress site with Mobile First Content Images installed. You have 20 minutes to test the plugin after that site we'll be deleted.
The plugin tries to detect what device the user is on. If it’s detected as a mobile device or unknown the content images can be swapped with a smaller Post Thumbnail size of choice to save bandwidth.
When testing if the plugin swapped your images use a real device or the iphone simulator. Changing the useragent to mobile on you desktop browser will not work.
You can find the code on Github and do whatever you like with it
phpQuery for making it easy to parse the html and Categorizr for mobile first device detection.