width, pixel-ratio and bandwidth detection for Responsive images