google chrome - Always the smallest picture from srcset is chosen -


we had approach use srcset attribute provide not different resolution different image section within responsive design. alternative image url associated "320w" in order show on smartphones in portrait mode.

since chrome supporting srcset turns out browser chooses small image regardless of actual viewport, due lower filesize. mean have resort other attributes , javascript again?


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -