Likewise. What’s the best way to test this?
Same here, can’t find the cache folder anywhere. Tried hacking the plugin and setting it manually but nothing.
This helps to ensure the cookie is being set when you test it from something like a phone (or phone emulator).
<script>
function read_cookie(k,r){return(r=RegExp('(^|; )'+encodeURIComponent(k)+'=([^;]*)').exec(document.cookie))?r[2]:null;}
$(document).ready(function(){
var resolution = read_cookie('resolution');
alert(resolution);
});
</script>
Surely you should be able to see it working from your normal browser.
If my images are scaled in the browser then it’s not working.
Take a look at http://defylife.co.uk/equipment/winter-tyre-review-heidenau-k60-silica/
I’ve purposely uploaded massive images to test with. These images are being scaled in the browser which shows that the plugin isn’t doing it’s job.
Well, I still didn’t manage to do it with this plugin but instead used the actual Adaptive Images script from here http://www.adaptive-images.com/
Might right a little blog post on how to get this working as it’ll be good for me for future projects.
Will report back here once written. Should be over the weekend.
As promised, here’s a quick guide on how to set up Adaptive Images with WordPress using the actual script and not a plugin: http://www.daretothink.co.uk/blog/using-adaptive-images-wordpress/