added responsive io for images