JcM Adaptive Images Phoenix V1.0

for osCommerce Online Merchant vPhoenix 1.0

JcM Adaptive Images hook for Phoenix 1.0.2.x only. Is now a hook. If you already have it installed just remove header files after uninstalling and add new files. This addon uses the code by MattWilcox/Adaptive-Images from GitHub It is used as supplied and all credit is with original author. All this add-on does is allow you to install in as a module you can turn on and off. Adaptive Images by Matt Wilcox is licensed under a Creative Commons Attribution 3.0 Unported License. This will automatically produce several images from your original image so each device can be served with the correct size image. Will help speed up site loading on mobile devices. Again totally stand alone with no core code change. You will have nothing to see as it just adds script. Go to a mobile device and view your site, browse around and then check your site files. You should have a directory /ai-cache and within this will be other folders /100 /200 to match your image widths. If this is true its working. If not check your configuration. The script works with good quality images! So if your images are small to begin with not much point using this. As it will scales up images to try and give a better view all you will get is a fuzzy mess! You need to add this code to your .htaccess file. I strongly advise you to duplicate that file so you can revert to it if things go pear-shaped.